mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Re-add an updated ic2, alter CC and update DepLoader. Fix more of the things.
1792 errors. A good night's work, I think.
This commit is contained in:
1 parent
ab47724473
commit
db7121454a
280 files changed
+6850
-2031
No files matched your search
@@ -73,7 +73,7 @@ public class PacketTransmitterUpdate implements IMekanismPacket
|
||||
|
||||
if(transmitterType == 0)
|
||||
{
|
||||
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
|
||||
if(tileEntity instanceof IGridTransmitter)
|
||||
{
|
||||
@@ -84,7 +84,7 @@ public class PacketTransmitterUpdate implements IMekanismPacket
|
||||
{
|
||||
double powerLevel = dataStream.readDouble();
|
||||
|
||||
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
|
||||
if(tileEntity != null)
|
||||
{
|
||||
@@ -93,7 +93,7 @@ public class PacketTransmitterUpdate implements IMekanismPacket
|
||||
}
|
||||
else if(transmitterType == 2)
|
||||
{
|
||||
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
|
||||
Gas gasType = GasRegistry.getGas(dataStream.readInt());
|
||||
int amount = dataStream.readInt();
|
||||
@@ -120,7 +120,7 @@ public class PacketTransmitterUpdate implements IMekanismPacket
|
||||
}
|
||||
else if(transmitterType == 3)
|
||||
{
|
||||
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
|
||||
TileEntity tileEntity = world.getTileEntity(x, y, z);
|
||||
|
||||
int type = dataStream.readInt();
|
||||
Fluid fluidType = type != -1 ? FluidRegistry.getFluid(type) : null;
|
||||
|
||||
Reference in new issue
Block a user