Fix exception
This commit is contained in:
parent
34e0e984ce
commit
0271ecd9e2
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user