Fix monster spawner bugs caused by rename

This commit is contained in:
Wuzzy 2017-05-25 05:57:04 +02:00
parent 93a36a91c2
commit 6b07bde2e8
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ mesecon:register_mvps_stopper("mcl_anvils:anvil")
mesecon:register_mvps_stopper("mcl_anvils:anvil_damage_1") mesecon:register_mvps_stopper("mcl_anvils:anvil_damage_1")
mesecon:register_mvps_stopper("mcl_anvils:anvil_damage_2") mesecon:register_mvps_stopper("mcl_anvils:anvil_damage_2")
mesecon:register_mvps_stopper("mcl_jukebox:jukebox") mesecon:register_mvps_stopper("mcl_jukebox:jukebox")
mesecon:register_mvps_stopper("mobs:spawner") mesecon:register_mvps_stopper("mcl_monster_spawners:spawner")
mesecon:register_mvps_stopper("signs:sign_yard") mesecon:register_mvps_stopper("signs:sign_yard")
mesecon:register_mvps_stopper("signs:sign_wall") mesecon:register_mvps_stopper("signs:sign_wall")
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_off") mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_off")

View file

@ -79,7 +79,7 @@ mcl_torches.register_torch = function(substring, description, doc_items_longdesc
-- * Piston -- * Piston
-- * Sticky piston -- * Sticky piston
if not def.buildable_to then if not def.buildable_to then
if node.name ~= "mcl_nether:soul_sand" and node.name ~= "mobs:spawner" and if node.name ~= "mcl_nether:soul_sand" and node.name ~= "mcl_monster_spawners:spawner" and
((not def.groups.solid) or (not def.groups.opaque)) then ((not def.groups.solid) or (not def.groups.opaque)) then
-- Only allow top placement on these nodes -- Only allow top placement on these nodes
if def.groups.glass or node.name == "mcl_hoppers:hopper" or node.name == "mcl_hoppers:hopper_side" or def.groups.fence or def.groups.wall then if def.groups.glass or node.name == "mcl_hoppers:hopper" or node.name == "mcl_hoppers:hopper_side" or def.groups.fence or def.groups.wall then