mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-27 15:23:22 +00:00
Fixed dupe bug with Essentia condenser
This commit is contained in:
1 parent
80c7b2a9ab
commit
42104e5e2a
1 file changed
+9
-9
@@ -579,6 +579,10 @@ public class TileEssentiaCompressor extends SynchronizedTileEntity
|
||||
return this.isMasterTile;
|
||||
}
|
||||
|
||||
public boolean isAccessPoint() {
|
||||
return this.multiblockYIndex == 1;
|
||||
}
|
||||
|
||||
public int getMultiblockYIndex() {
|
||||
return this.multiblockYIndex;
|
||||
}
|
||||
@@ -620,17 +624,13 @@ public class TileEssentiaCompressor extends SynchronizedTileEntity
|
||||
|
||||
@Override
|
||||
public AspectList getAspects() {
|
||||
if (!this.isMultiblockFormed()) {
|
||||
return new AspectList();
|
||||
} else {
|
||||
if (this.isMasterTile()) {
|
||||
return this.al;
|
||||
} else {
|
||||
TileEssentiaCompressor master = this.tryFindMasterTile();
|
||||
if (master == null) return new AspectList();
|
||||
return master.getAspects();
|
||||
if (this.isMultiblockFormed() && this.isAccessPoint()) {
|
||||
TileEssentiaCompressor master = this.tryFindMasterTile();
|
||||
if (master != null) {
|
||||
return master.al;
|
||||
}
|
||||
}
|
||||
return new AspectList();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user