mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Completed Opaque Transmitter implementation. Yay!
This commit is contained in:
1 parent
640de3ef4c
commit
0ae477fd01
39 files changed
+40
-39
No files matched your search
@@ -6,6 +6,7 @@ import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
|
||||
import mekanism.api.Coord4D;
|
||||
import mekanism.api.MekanismConfig.client;
|
||||
import mekanism.api.gas.Gas;
|
||||
import mekanism.api.gas.GasNetwork;
|
||||
import mekanism.api.gas.GasRegistry;
|
||||
@@ -61,7 +62,13 @@ public class PacketTransmitterUpdate implements IMessageHandler<TransmitterUpdat
|
||||
network.updateCapacity();
|
||||
}
|
||||
}
|
||||
else if(message.packetType == PacketType.ENERGY)
|
||||
|
||||
if(client.opaqueTransmitters)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if(message.packetType == PacketType.ENERGY)
|
||||
{
|
||||
TileEntity tileEntity = message.coord4D.getTileEntity(player.worldObj);
|
||||
|
||||
@@ -119,6 +126,7 @@ public class PacketTransmitterUpdate implements IMessageHandler<TransmitterUpdat
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user