Mineclonia/mods/ITEMS
Nils Dagsson Moskopp be915478af
Fix redstone comparator flooding crash
Redstone comparators have two modes, comparison mode & subtraction mode.
Before this patch, the functions to turn comparators on or off attempted
to swap nodes with comparators in the same mode, but failed to determine
the correct replacement node, if the existing node was not a comparator.

When a comparator in an on state (e.g. powered by a filled cauldron) was
flooded, the flooding dropped the comparator and replaced the comparator
node that was to be swapped out with air, which lead to a server crash.

This patch changes the functions that turn comparators on or off so they
only swap existing nodes with comparators in the same mode if the name
of the replacement node can be determined – i.e. if it is not nil.
2022-02-23 00:27:56 +01:00
..
mcl_anvils Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_armor Fix armor rendering when wearing pumpkin 2022-01-23 20:11:55 +01:00
mcl_armor_stand Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_banners Render preview banners with transparent patterns correctly 2021-10-31 20:53:18 +01:00
mcl_beds Fix beds burning away and dropping 2022-02-07 03:39:52 +01:00
mcl_books Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_bows Refactor regular arrow flight time calculation 2021-07-12 16:06:44 +02:00
mcl_brewing Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
mcl_buckets Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_cake Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_cauldrons Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_chests Add noise to christmas chest textures 2021-12-12 15:40:29 +01:00
mcl_clock Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_cocoas Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_colorblocks Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_compass Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_core Add packed ice crafting recipe 2021-11-24 06:06:26 +01:00
mcl_crafting_table Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_doors Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_dye Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_enchanting Merge remote-tracking branch 'n_to/update_template.txt' 2021-06-20 23:52:15 +02:00
mcl_end Make dragon egg teleport on punching 2021-07-13 09:11:48 +02:00
mcl_farming Convert correct floor node to dirt as gourd grows 2022-01-13 07:29:57 +01:00
mcl_fences Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_fire Fix memory leak & C stack overflow 2022-02-11 17:44:11 +01:00
mcl_fishing Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_flowerpots Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_flowers Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_furnaces Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_heads Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_hoppers Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_itemframes Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_jukebox Make jukebox accept and play old music records 2021-06-15 17:46:03 +02:00
mcl_maps mcl_maps: send hud_flags only if actually changed 2021-09-13 14:15:32 +02:00
mcl_mobitems Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_mobspawners Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_monster_eggs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_mushrooms Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_nether Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_ocean Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_portals Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_potions Make potion arrows able to hit end crystals 2021-07-12 22:21:15 +02:00
mcl_signs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_sponges Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_stairs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_throwing Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_tnt Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_tools Add debarking by right clicking wood using an axe 2021-09-07 00:48:10 +02:00
mcl_torches Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_totems Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_walls Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_wool Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mclx_core Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mclx_fences Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mclx_stairs Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
REDSTONE Fix redstone comparator flooding crash 2022-02-23 00:27:56 +01:00
screwdriver Show screwdriver in creative inventory 2021-06-22 00:16:57 +02:00
xpanes Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
modpack.conf Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00