From 5aae174e02efc483412d3571c088b6256cb65057 Mon Sep 17 00:00:00 2001 From: Vitaliy Olkhin Date: Sun, 8 Dec 2024 22:47:42 +0500 Subject: [PATCH] Fixed server crash error --- tankzombie/init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tankzombie/init.lua b/tankzombie/init.lua index 7dcf1f7..da65e21 100644 --- a/tankzombie/init.lua +++ b/tankzombie/init.lua @@ -127,13 +127,6 @@ mobs:register_mob("tankzombie:tankzombie", { }) --- ADICIONANDO ATAQUE QUE MUDA O POSIÇÃO -minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch, tool_capabilities, dir) - if hitter:get_luaentity().name == "tankzombie:tankzombie" then - player:set_pos({x=player:get_pos().x+5,y=player:get_pos().y+5,z=player:get_pos().z}) - end -end) -