mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
Fix glass rendering not connecting to enlightened versions
Fix config
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user