mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Red String Spoofers will now also connect to mushrooms.
This commit is contained in:
1 parent
88f2afb453
commit
bbb4742070
2 files changed
+3
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user