diff --git a/3d_armor/init.lua b/3d_armor/init.lua index 18d5a8f..0d7d293 100644 --- a/3d_armor/init.lua +++ b/3d_armor/init.lua @@ -395,7 +395,7 @@ if armor.config.punch_damage == true then minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch, tool_capabilities) local name = player:get_player_name() - local name2 = hitter:get_player_name() + local name2 = hitter:get_player_name() if name and name2 and minetest.is_protected(player:get_pos(), "") then return elseif name then