From 2a9d7042931cc968c4ae542df2b422b3a5b54a2d Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 10 Oct 2022 01:06:42 +0200 Subject: [PATCH] Fix dumb mistake in creative crash fix --- mods/HUD/mcl_inventory/init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 2e9faabd3..419407b7e 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -209,7 +209,6 @@ end minetest.register_on_punchnode(function(pos, node, puncher, pointed_thing) if not puncher or not puncher:is_player() then return end local name = puncher:get_player_name() - if minetest.is_creative_enabled(name) then return end if not minetest.is_creative_enabled(name) then return end if pointed_thing.type ~= "node" then return end local def = minetest.registered_nodes[node.name]