Fix item entities not rotating after activate

master
Wuzzy 2022-05-04 12:08:23 +02:00
parent 6ed13c745f
commit fe1c1aa363
1 changed files with 1 additions and 1 deletions

View File

@ -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