forked from VoxeLibre/VoxeLibre
Delete drippingwater entities when block unloads
This commit is contained in:
parent
2892c45f52
commit
c8f9c3e923
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue