1
0
Fork 0
TheDarkProject/mods/ITEMS/mcl_hoppers
kabou 5431e206b0 Fix hopper breakage in get_item_group return value.
In commit 55009c257e that added vectors to
mcl_composters, mcl_hoppers was accidentally patched with a unrelated
change, updating it to get_item_group().  This mostly works, but in one
particular case the semantics of the return value differs.  Instead of
returning 'nil' it returns '0'.  That altered the evaluation of an if
condition, breaking the abm that sucks in items.

This commit fixes the conditional by explicitly comparing  '~= 0'.
2022-02-24 03:18:25 +01:00
..
locale mcl_hoppers 2022-02-23 23:58:05 +01:00
textures Revert "Add dummy inventory images for backwards-compat" 2020-03-29 14:38:39 +02:00
License.txt Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00
README.md Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00
init.lua Fix hopper breakage in get_item_group return value. 2022-02-24 03:18:25 +01:00
mod.conf Revert color changes to GUI. 2021-04-19 14:44:20 +02:00

README.md

Hoppers

This is the Hoppers mod for Minetest. It's just a clone of Minecraft hoppers, functions nearly identical to them minus mesecons making them stop and the way they're placed.

Forum Topic