Fixed XP orb texture breaking randomly

It used undefined engine behaviour.
It's unclear how it even worked *sometimes*.
This commit is contained in:
the-real-herowl 2023-12-30 04:13:13 +01:00
parent 13341df20b
commit befd98b83e

View file

@ -155,7 +155,7 @@ minetest.register_entity("mcl_experience:orb", {
collisionbox = {-0.2, -0.2, -0.2, 0.2, 0.2, 0.2}, collisionbox = {-0.2, -0.2, -0.2, 0.2, 0.2, 0.2},
visual = "sprite", visual = "sprite",
visual_size = {x = 0.4, y = 0.4}, visual_size = {x = 0.4, y = 0.4},
textures = {name="mcl_experience_orb.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}}, textures = {"mcl_experience_orb.png"},
spritediv = {x = 1, y = 14}, spritediv = {x = 1, y = 14},
initial_sprite_basepos = {x = 0, y = 0}, initial_sprite_basepos = {x = 0, y = 0},
is_visible = true, is_visible = true,