Fix item entities not rotating after activate
This commit is contained in:
parent
6ed13c745f
commit
fe1c1aa363
@ -68,8 +68,8 @@ minetest.register_entity(
|
||||
prop.visual = "wielditem"
|
||||
prop.textures = {itemname}
|
||||
prop.visual_size = {x=0.15, y=0.15}
|
||||
prop.automatic_rotate = math.pi * 0.5
|
||||
end
|
||||
prop.automatic_rotate = math.pi * 0.5
|
||||
local ndef = minetest.registered_nodes[itemname]
|
||||
if ndef then
|
||||
prop.glow = ndef.light_source
|
||||
|
Loading…
x
Reference in New Issue
Block a user