mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-03-11 06:07:44 +01:00
Make hopper minecart pull items from containers when stopped
This commit is contained in:
parent
74de26b3c8
commit
e08505d24d
1 changed files with 5 additions and 0 deletions
|
@ -169,6 +169,11 @@ mod.register_minecart({
|
|||
end,
|
||||
_mcl_minecarts_on_step = function(self, dtime)
|
||||
hopper_take_item(self, dtime)
|
||||
|
||||
local staticdata = self._staticdata
|
||||
local pos = mcl_minecarts.get_cart_position(staticdata)
|
||||
|
||||
self._mcl_minecarts_on_enter(self, pos, staticdata)
|
||||
end,
|
||||
creative = true
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue