mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
CTM work
This commit is contained in:
1 parent
ddfe83c495
commit
d8760b842f
21 files changed
+185
-157
No files matched your search
@@ -469,9 +469,6 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
{
|
||||
if(!structureFound.locations.contains(coord))
|
||||
{
|
||||
System.out.println("No contain " + coord + " " + coord.getTileEntity(pointer.getWorld()));
|
||||
System.out.println(coord.getBlockState(pointer.getWorld()).getBlock());
|
||||
|
||||
for(Coord4D newCoord : iteratedNodes)
|
||||
{
|
||||
TileEntity tile = newCoord.getTileEntity(pointer.getWorld());
|
||||
@@ -538,9 +535,8 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
//TODO perhaps drop from pointer?
|
||||
|
||||
cache.apply((T)structureFound);
|
||||
|
||||
structureFound.inventoryID = idToUse;
|
||||
System.out.println("Success " + structureFound.locations.size());
|
||||
|
||||
onFormed();
|
||||
|
||||
List<IStructuralMultiblock> structures = new ArrayList<IStructuralMultiblock>();
|
||||
@@ -573,7 +569,6 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
}
|
||||
}
|
||||
else {
|
||||
int killed = 0;
|
||||
for(Coord4D coord : iteratedNodes)
|
||||
{
|
||||
TileEntity tile = coord.getTileEntity(pointer.getWorld());
|
||||
@@ -589,7 +584,6 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
}
|
||||
|
||||
tileEntity.structure = null;
|
||||
killed++;
|
||||
}
|
||||
else if(tile instanceof IStructuralMultiblock)
|
||||
{
|
||||
@@ -597,8 +591,6 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
}
|
||||
}
|
||||
|
||||
System.out.println(killed + " KILLED");
|
||||
|
||||
for(Coord4D coord : innerNodes)
|
||||
{
|
||||
killInnerNode(coord);
|
||||
|
||||
Reference in new issue
Block a user