mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 02:19:33 +01:00
Wielditem rotation tweak
This commit is contained in:
parent
d02fc0c83d
commit
4a53ba67ab
1 changed files with 1 additions and 1 deletions
|
@ -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, 0, 0), vector.new(15, 45, 0))
|
||||
itementity:set_attach(player, "Hand_Right", vector.new(0, 1, 0), vector.new(-90, 0, 45))
|
||||
itementity:get_luaentity().wielder = name
|
||||
end, player)
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue