forked from Mineclonia/Mineclonia
Make shulker box drop correctly after push
This commit is contained in:
parent
302f66977a
commit
d496ed941b
|
@ -541,9 +541,8 @@ for color, desc in pairs(boxtypes) do
|
|||
return nil
|
||||
end
|
||||
end,
|
||||
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||
on_destruct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:from_table(oldmetadata)
|
||||
local inv = meta:get_inventory()
|
||||
local items = {}
|
||||
for i=1, inv:get_size("main") do
|
||||
|
|
Loading…
Reference in New Issue