diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 0a76b837..43aebe81 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -18,8 +18,9 @@ Bugs - #1351 Travel Anchor: Item needs to be added before text is displayed - #1348 Item conduits not connecting to tesseracts in receive only mode - #1357 Power Conduits replaced by growing tree's -- #1347 Capacitor Bank energy duplication bug. -- #1268 Capacitor bank not honoring input redstone settings. +- #1347 Capacitor Bank energy duplication bug +- #1268 Capacitor bank not honoring input redstone settings +- #1361 Enlightened Fused Quartz is not blast resistant ------------------------------------------------------ Version 2.2.2 diff --git a/src/main/java/crazypants/enderio/material/BlockFusedQuartz.java b/src/main/java/crazypants/enderio/material/BlockFusedQuartz.java index fb1a8334..ce97e117 100644 --- a/src/main/java/crazypants/enderio/material/BlockFusedQuartz.java +++ b/src/main/java/crazypants/enderio/material/BlockFusedQuartz.java @@ -50,7 +50,7 @@ public class BlockFusedQuartz extends BlockEio { } public boolean connectTo(int otherMeta) { - if (otherMeta == this.ordinal()) { + if (otherMeta == ordinal()) { return true; } @@ -95,8 +95,8 @@ public class BlockFusedQuartz extends BlockEio { @Override public float getExplosionResistance(Entity par1Entity, World world, int x, int y, int z, double explosionX, double explosionY, double explosionZ) { int meta = world.getBlockMetadata(x, y, z); - meta = MathHelper.clamp_int(meta, 0, 1); - if(meta == 0) { + meta = MathHelper.clamp_int(meta, 0, Type.values().length - 1); + if(meta == Type.FUSED_QUARTZ.ordinal() || meta == Type.ENLIGHTENED_FUSED_QUARTZ.ordinal()) { return 2000; } else { return super.getExplosionResistance(par1Entity);