From 60f3d4b74cca4175f917c8a47ec249b2b2322f14 Mon Sep 17 00:00:00 2001 From: Johannes Fritz Date: Thu, 18 Aug 2022 13:36:02 -0500 Subject: [PATCH] set_attach: remove default parameters --- mods/PLAYER/mcl_wieldview/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_wieldview/init.lua b/mods/PLAYER/mcl_wieldview/init.lua index b09543844..b9d5c8cb1 100644 --- a/mods/PLAYER/mcl_wieldview/init.lua +++ b/mods/PLAYER/mcl_wieldview/init.lua @@ -4,7 +4,7 @@ minetest.register_on_joinplayer(function(player) end local itementity = minetest.add_entity(player:get_pos(), "mcl_wieldview:wieldnode") 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:get_luaentity()._wielder = player end)