Fix glass rendering not connecting to enlightened versions

Fix config
This commit is contained in:
tterrag1098 committed 2014-11-19 17:45:57 -05:00
1 parent 3c781798f6
commit 807c3bb6ca
6 files changed
+55 -16

No files matched your search

@@ -48,7 +48,25 @@ public class BlockFusedQuartz extends BlockEio {
this.blockIcon = blockIcon;
this.itemIcon = itemIcon;
}
public boolean connectTo(int otherMeta) {
if (otherMeta == this.ordinal()) {
return true;
}
switch(this) {
case FUSED_QUARTZ:
return otherMeta == ENLIGHTENED_FUSED_QUARTZ.ordinal();
case ENLIGHTENED_FUSED_QUARTZ:
return otherMeta == FUSED_QUARTZ.ordinal();
case GLASS:
return otherMeta == ENLIGHTENED_GLASS.ordinal();
case ENLIGHTENED_GLASS:
return otherMeta == GLASS.ordinal();
}
return false;
}
}
public static BlockFusedQuartz create() {