mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Rewrote multiblock data saving, changed simple side names
This commit is contained in:
1 parent
99d6684425
commit
f83d481fd6
11 files changed
+103
-207
No files matched your search
@@ -402,11 +402,10 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
for(Coord4D obj : structureFound.locations)
|
||||
{
|
||||
TileEntityMultiblock<T> tileEntity = (TileEntityMultiblock<T>)obj.getTileEntity(pointer.getWorldObj());
|
||||
int id = getManager().getInventoryId(tileEntity);
|
||||
|
||||
if(id != -1)
|
||||
if(tileEntity.cachedID != -1)
|
||||
{
|
||||
idsFound.add(id);
|
||||
idsFound.add(tileEntity.cachedID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user