Remove /pulverize command

master
Wuzzy 2021-06-22 18:22:58 +02:00
parent 99afe4b47f
commit 635ef667f6
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
-- Remove /pulverize commmand because it could
-- put player in an unfinishable state.
-- (unless in Map Editing Mode)
local map_editing = minetest.settings:get_bool("tutorial_debug_map_editing")
if not map_editing then
minetest.unregister_chatcommand("pulverize")
end