mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
set_attach: remove default parameters
This commit is contained in:
parent
ba55e4286f
commit
60f3d4b74c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user