Fix wielded nodes being upside down

This commit is contained in:
Elias Fleckenstein 2021-03-19 12:41:03 +01:00
parent 327bb68927
commit 9391628813

View File

@ -72,7 +72,7 @@ minetest.register_on_joinplayer(function(player)
minetest.after(0, function(player)
wieldview:update_wielded_item(player)
local itementity = minetest.add_entity(player:get_pos(), "wieldview:wieldnode")
itementity:set_attach(player, "Hand_Right", vector.new(0, 1, 0), vector.new(-90, 0, 45))
itementity:set_attach(player, "Hand_Right", vector.new(0, 1, 0), vector.new(90, 0, 45))
itementity:get_luaentity().wielder = name
end, player)
end)