Hero fury crash fixed
This commit is contained in:
parent
959edacf92
commit
9454c07488
@ -183,7 +183,7 @@ local forward_punch = {
|
||||
function forward_punch:on_activate(pl_name, dtime_s)
|
||||
if pl_name ~= "" then
|
||||
local hero_fury = pl_name:get_skill("fbrawl:hero_fury")
|
||||
local hit_player = hero_fury.data.hit_player
|
||||
local hit_player = minetest.get_player_by_name(hero_fury.data.hit_player_name)
|
||||
|
||||
local player = minetest.get_player_by_name(pl_name)
|
||||
local obj = self.object
|
||||
|
Loading…
x
Reference in New Issue
Block a user