From bbb4742070fe21e5227ec52fc3bc1fdba461edfc Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Sun, 18 Jan 2015 14:51:14 +0000 Subject: [PATCH] Red String Spoofers will now also connect to mushrooms. --- .../botania/common/block/tile/string/TileRedStringRelay.java | 3 ++- src/main/resources/assets/botania/lang/en_US.lang | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/vazkii/botania/common/block/tile/string/TileRedStringRelay.java b/src/main/java/vazkii/botania/common/block/tile/string/TileRedStringRelay.java index 21e4c14ac..4e5423110 100644 --- a/src/main/java/vazkii/botania/common/block/tile/string/TileRedStringRelay.java +++ b/src/main/java/vazkii/botania/common/block/tile/string/TileRedStringRelay.java @@ -13,6 +13,7 @@ package vazkii.botania.common.block.tile.string; import net.minecraft.block.Block; import net.minecraft.block.BlockFlower; +import net.minecraft.block.BlockMushroom; public class TileRedStringRelay extends TileRedString { @@ -22,7 +23,7 @@ public class TileRedStringRelay extends TileRedString { return false; Block block = worldObj.getBlock(x, y, z); - return block instanceof BlockFlower; + return block instanceof BlockFlower || block instanceof BlockMushroom; } } diff --git a/src/main/resources/assets/botania/lang/en_US.lang b/src/main/resources/assets/botania/lang/en_US.lang index 8a8a2e887..8d371752c 100644 --- a/src/main/resources/assets/botania/lang/en_US.lang +++ b/src/main/resources/assets/botania/lang/en_US.lang @@ -1449,7 +1449,7 @@ botania.page.redString7=The &1Red Stringed Nutrifier&0 can be bound to any block botania.page.redString8=The &1Red Stringed Nutrifier&0. botania.page.redString9=The &1Red Stringed Comparator&0 can be bound to any block whose status can be read with a &1Container&0, such as &1Chests&0, &1Mana Pools&0, &1Runic Altars&0, etc. Placing a &1Comparator&0 pointing outwards of this block will send the signal equal to the signal a &1Comparator&0 would send on the bound block. botania.page.redString10=The &1Red Stringed Comparator&0. -botania.page.redString11=Lastly, the &1Red Stringed Spoofer&0 is an interesting one. Any flower with an effect can be placed on it. The block will bind to any flowers. While there's a flower on top of the block, that flower will not do anything, but the bound block will take all of that flower's properties and work as if it was the flower itself. +botania.page.redString11=Lastly, the &1Red Stringed Spoofer&0 is an interesting one. Any flower with an effect can be placed on it. The block will bind to any flowers or mushrooms. While there's a flower on top of the block, that flower will not do anything, but the bound block will take all of that flower's properties and work as if it was the flower itself. botania.page.redString12=The &1Red Stringed Spoofer&0. # - MYSTICAL INSTRUMENTS