1
0
Fork 0

set_attach: remove default parameters

mobs-redo
Johannes Fritz 2022-08-18 13:36:02 -05:00
parent ba55e4286f
commit 60f3d4b74c
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ minetest.register_on_joinplayer(function(player)
end end
local itementity = minetest.add_entity(player:get_pos(), "mcl_wieldview:wieldnode") local itementity = minetest.add_entity(player:get_pos(), "mcl_wieldview:wieldnode")
if not itementity then return end if not itementity then return end
itementity:set_attach(player, "Wield_Item", vector.new(0, 0, 0), vector.new(0, 0, 0)) itementity:set_attach(player, "Wield_Item")
--itementity:set_attach(player, "Hand_Right", vector.new(0, 1, 0), vector.new(90, 45, 90)) --itementity:set_attach(player, "Hand_Right", vector.new(0, 1, 0), vector.new(90, 45, 90))
itementity:get_luaentity()._wielder = player itementity:get_luaentity()._wielder = player
end) end)