mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
41550da87b
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. |
||
---|---|---|
.. | ||
mcl_comparators | ||
mcl_dispensers | ||
mcl_droppers | ||
mcl_observers | ||
mesecons | ||
mesecons_alias | ||
mesecons_button | ||
mesecons_commandblock | ||
mesecons_delayer | ||
mesecons_lightstone | ||
mesecons_mvps | ||
mesecons_noteblock | ||
mesecons_pistons | ||
mesecons_pressureplates | ||
mesecons_solarpanel | ||
mesecons_torch | ||
mesecons_walllever | ||
mesecons_wires | ||
modpack.conf | ||
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/>