Fix exception

master
oilboi 2020-06-26 13:00:40 -04:00
parent 34e0e984ce
commit 0271ecd9e2
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch,
punch_diff = (minetest.get_us_time()/1000000)-temp_pool
hurt = 0
hurt = tool_capabilities.damage_groups.damage
hp = player:get_hp()