From 0a0ff4c387002c115de10ff406a63a9c1e93c22b Mon Sep 17 00:00:00 2001 From: archfan <33993466+archfan7411@users.noreply.github.com> Date: Fri, 5 Apr 2019 01:05:02 -0400 Subject: [PATCH] Remove debug command --- mods/thirst/api.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mods/thirst/api.lua b/mods/thirst/api.lua index a75680c..a927c43 100644 --- a/mods/thirst/api.lua +++ b/mods/thirst/api.lua @@ -150,15 +150,6 @@ if damage_enabled then thirst.set_player_hud_def(name, thirst.get_player_thirst(name)) end) - minetest.register_chatcommand("set_thirst", { - params = "", - func = function(name, params) - amount = tonumber(params) - thirst.set_player_thirst(name, amount) - minetest.chat_send_all("Current thirst data:\n" .. dump(thirst.players)) - end - }) - -- Reset player thirst on die. minetest.register_on_respawnplayer(function(player)