Fix crash when using nametag
parent
b2fa90cae7
commit
61c5c61e00
|
@ -2910,7 +2910,7 @@ local on_rightclick_prefix = function(self, clicker)
|
|||
|
||||
update_tag(self)
|
||||
|
||||
if not mobs.is_creative(name) then
|
||||
if not mobs.is_creative(clicker:get_player_name()) then
|
||||
item:take_item()
|
||||
player:set_wielded_item(item)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue