Fix crash in default/item_entity.lua
This commit is contained in:
parent
6b33820447
commit
e6f053f2cf
1 changed files with 1 additions and 1 deletions
|
@ -15,8 +15,8 @@ local item = {
|
|||
|
||||
burn_up = function(self)
|
||||
-- disappear in a smoke puff
|
||||
self.object:remove()
|
||||
local p = self.object:get_pos()
|
||||
self.object:remove()
|
||||
minetest.sound_play("default_item_smoke", {
|
||||
pos = p,
|
||||
max_hear_distance = 8,
|
||||
|
|
Loading…
Reference in a new issue