mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-10-25 20:32:27 +00:00
add check before adding matrix into list (#78)
This commit is contained in:
1 parent
57fdcb6ee5
commit
d2e51194c7
1 file changed
+1
@@ -89,6 +89,7 @@ public class TileAdvancedInfusionProvider extends TileInfusionProvider implement
|
||||
|
||||
public void bindMatrixs(final int x, final int y, final int z) {
|
||||
if (this.worldObj != null && this.worldObj.getTileEntity(x, y, z) instanceof TileInfusionMatrix tim) {
|
||||
if (this.matrices.contains(tim)) return;
|
||||
this.matrices.add(tim);
|
||||
|
||||
this.markForUpdate();
|
||||
|
||||
Reference in new issue
Block a user