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.visual = "wielditem"
|
||||||
prop.textures = {itemname}
|
prop.textures = {itemname}
|
||||||
prop.visual_size = {x=0.15, y=0.15}
|
prop.visual_size = {x=0.15, y=0.15}
|
||||||
prop.automatic_rotate = math.pi * 0.5
|
|
||||||
end
|
end
|
||||||
|
prop.automatic_rotate = math.pi * 0.5
|
||||||
local ndef = minetest.registered_nodes[itemname]
|
local ndef = minetest.registered_nodes[itemname]
|
||||||
if ndef then
|
if ndef then
|
||||||
prop.glow = ndef.light_source
|
prop.glow = ndef.light_source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user