1
0
Fork 0
MineClone2/mods/ITEMS/REDSTONE
Nils Dagsson Moskopp 3cfa41de6d 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-03-08 23:16:54 +01:00
..
mcl_comparators Fix redstone comparator flooding crash 2022-03-08 23:16:54 +01:00
mcl_dispensers Fix reference dupes for droppers and dispensers 2021-11-29 19:12:49 +01:00
mcl_droppers Fix reference dupes for droppers and dispensers 2021-11-29 19:12:49 +01:00
mcl_observers Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
mesecons_alias Move data from deprecated files to mod.conf 2021-03-18 17:37:12 +01:00
mesecons_button Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_commandblock Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_delayer Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_lightstone Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_mvps [mesecons_mvps] fix warnings 2021-05-23 11:25:22 +02:00
mesecons_noteblock Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_pistons fix some mods using "core" insteed of "minetest" 2021-06-12 00:18:52 +02:00
mesecons_pressureplates Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_solarpanel Revert "fixed daylightsensor's register_abms" 2021-12-12 15:55:52 +01:00
mesecons_torch Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_walllever Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
mesecons_wires Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
README Add piston sounds 2017-02-19 20:48:56 +01:00
modpack.conf Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00

README

-- |\    /| ____ ____  ____ _____   ____         _____
-- | \  / | |    |     |    |      |    | |\   | |
-- |  \/  | |___ ____  |___ |      |    | | \  | |____
-- |      | |        | |    |      |    | |  \ |     |
-- |      | |___ ____| |___ |____  |____| |   \| ____|
-- by Jeija and contributors

Credits:
Jeija: main developer
VanessaE: Awesome textures & design, coding
sfan5: coding, textures
temperest: coding, textures
Jordach: Sounds for the noteblock
minerd247: Some textures
suzenako: Piston sounds
...other contributors

This is a mod for minetest-c55.
Copy the minetest-mod-mesecons directory into you game's mod folder 
(e.g. games/minetest_game/mods/minetest-mod-mesecons)

You can remove modules of this mod by deleting the mesecons_*
folders in the minetest-mod-mesecons directory.

Mod dependencies: none

Code license: LGPLv3 or later
Media license: CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0/>