1
0
Fork 0

Delete drippingwater entities when block unloads

This commit is contained in:
Wuzzy 2019-03-10 04:22:19 +01:00
parent 2892c45f52
commit c8f9c3e923
1 changed files with 2 additions and 0 deletions

View File

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