forked from mtcontrib/3d_armor
Add missing placer param to locked armor stand, fixes #59
This commit is contained in:
parent
8f8c6c6bfa
commit
b14db3c43c
@ -199,7 +199,7 @@ minetest.register_node("3d_armor_stand:locked_armor_stand", {
|
||||
end
|
||||
return true
|
||||
end,
|
||||
after_place_node = function(pos)
|
||||
after_place_node = function(pos, placer)
|
||||
minetest.add_entity(pos, "3d_armor_stand:armor_entity")
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("owner", placer:get_player_name() or "")
|
||||
|
Loading…
Reference in New Issue
Block a user