mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 14:25:10 +00:00
Transmit items through hoppers as well
This commit is contained in:
parent
a92e9f8417
commit
df94966c7a
1 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ minetest.register_abm({
|
||||||
local bshulker = not (bg == 0 or bg == nil)
|
local bshulker = not (bg == 0 or bg == nil)
|
||||||
|
|
||||||
--the mcl_hoppers input
|
--the mcl_hoppers input
|
||||||
if b == "mcl_chests:chest" or b == "mcl_chests:chest_left" or b == "mcl_chests:chest_right" or bshulker then
|
if b == "mcl_chests:chest" or b == "mcl_chests:chest_left" or b == "mcl_chests:chest_right" or bshulker or b == "mcl_hoppers:hopper" or b == "mcl_hoppers:hopper_side" then
|
||||||
--mcl_hoppers inventory
|
--mcl_hoppers inventory
|
||||||
local meta = minetest.get_meta(pos);
|
local meta = minetest.get_meta(pos);
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
@ -346,7 +346,7 @@ minetest.register_abm({
|
||||||
local bshulker = not (bg == 0 or bg == nil)
|
local bshulker = not (bg == 0 or bg == nil)
|
||||||
|
|
||||||
--the mcl_hoppers input
|
--the mcl_hoppers input
|
||||||
if b == "mcl_chests:chest" or b == "mcl_chests:chest_left" or b == "mcl_chests:chest_right" or bshulker then
|
if b == "mcl_chests:chest" or b == "mcl_chests:chest_left" or b == "mcl_chests:chest_right" or bshulker or b == "mcl_hoppers:hopper" or b == "mcl_hoppers:hopper_side" then
|
||||||
--mcl_hoppers inventory
|
--mcl_hoppers inventory
|
||||||
local meta = minetest.get_meta(pos);
|
local meta = minetest.get_meta(pos);
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
|
Loading…
Reference in a new issue