diff options
author | Alexander Ried <ried@mytum.de> | 2020-07-05 15:36:56 +0200 |
---|---|---|
committer | Buckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com> | 2020-07-13 07:21:52 +0200 |
commit | 5f7cb859c58b9d72580230f59b380f64d7f9e096 (patch) | |
tree | 1be92d659dcef3881b444f79d0ec4e6432399547 /chatcommands.lua | |
parent | b7319fa3861f32bdf352751a6dcab54f19d7a6b6 (diff) | |
download | mesecons_debug-5f7cb859c58b9d72580230f59b380f64d7f9e096.tar.gz mesecons_debug-5f7cb859c58b9d72580230f59b380f64d7f9e096.zip |
fix whitelist_remove chat command
Diffstat (limited to 'chatcommands.lua')
-rw-r--r-- | chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chatcommands.lua b/chatcommands.lua index 077a85d..2b4a1cc 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -80,7 +80,7 @@ minetest.register_chatcommand("mesecons_whitelist_remove", { local blockpos = mesecons_debug.get_blockpos(ppos) local hash = minetest.hash_node_position(blockpos) - mesecons_debug.whitelist[hash] = true + mesecons_debug.whitelist[hash] = nil mesecons_debug.save_whitelist() return true, "mapblock removed from whitelist" |