From c8f9c3e9235ecc2d9a07dce191a1e238954a60b4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 10 Mar 2019 04:22:19 +0100 Subject: [PATCH] Delete drippingwater entities when block unloads --- mods/ENTITIES/drippingwater/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ENTITIES/drippingwater/init.lua b/mods/ENTITIES/drippingwater/init.lua index cd8746e469..6e23183fb5 100644 --- a/mods/ENTITIES/drippingwater/init.lua +++ b/mods/ENTITIES/drippingwater/init.lua @@ -19,6 +19,7 @@ minetest.register_entity("drippingwater:drop_water", { textures = {water_tex, water_tex, water_tex, water_tex, water_tex, water_tex}, spritediv = {x=1, y=1}, initial_sprite_basepos = {x=0, y=0}, + static_save = false, on_activate = function(self, staticdata) self.object:set_sprite({x=0,y=0}, 1, 1, true) @@ -59,6 +60,7 @@ minetest.register_entity("drippingwater:drop_lava", { textures = {lava_tex, lava_tex, lava_tex, lava_tex, lava_tex, lava_tex}, spritediv = {x=1, y=1}, initial_sprite_basepos = {x=0, y=0}, + static_save = false, on_activate = function(self, staticdata) self.object:set_sprite({x=0,y=0}, 1, 0, true)