From 56b63463a559b55fff0d6b4922454c96bee56462 Mon Sep 17 00:00:00 2001 From: kabou Date: Wed, 2 Mar 2022 10:47:46 +0100 Subject: [PATCH] Fix burning entity animation. The parameters for the flames sprite were incorrect, causing the reverse side of the sprite to appear as an opaque black rectangle. Use the correct incantation. --- mods/ENTITIES/mcl_burning/init.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/mods/ENTITIES/mcl_burning/init.lua b/mods/ENTITIES/mcl_burning/init.lua index a47824537..cc82527cc 100644 --- a/mods/ENTITIES/mcl_burning/init.lua +++ b/mods/ENTITIES/mcl_burning/init.lua @@ -70,13 +70,8 @@ minetest.register_entity("mcl_burning:fire", { collisionbox = {0, 0, 0, 0, 0, 0}, visual = "upright_sprite", textures = { - name = "mcl_burning_entity_flame_animated.png", - animation = { - type = "vertical_frames", - aspect_w = 16, - aspect_h = 16, - length = 1.0, - }, + "mcl_burning_entity_flame_animated.png", + "mcl_burning_entity_flame_animated.png" }, spritediv = {x = 1, y = mcl_burning.animation_frames}, pointable = false,