MineClone2/mods
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
..
CORE mcl_explosions 2022-02-23 23:58:05 +01:00
ENTITIES mcl_mobs 2022-02-23 23:58:05 +01:00
ENVIRONMENT mcl_weather 2022-02-23 23:58:05 +01:00
HELP add translate for `doc_identifier` 2022-02-23 23:58:04 +01:00
HUD mcl_inventory 2022-02-23 23:58:05 +01:00
ITEMS Fix hopper breakage in get_item_group return value. 2022-02-24 03:18:25 +01:00
MAPGEN mcl_structures 2022-02-23 23:58:05 +01:00
MISC mcl_commands 2022-02-23 23:58:05 +01:00
PLAYER mcl_skins 2022-02-23 23:58:05 +01:00