mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed a few bugs with the new system
This commit is contained in:
1 parent
d4d7e88c4e
commit
4085cb297d
4 files changed
+26
-14
No files matched your search
@@ -162,6 +162,7 @@ public class PacketConfigurationUpdate implements IMessageHandler<ConfigurationU
|
||||
if(packetType == ConfigurationPacket.SIDE_DATA)
|
||||
{
|
||||
dataStream.writeInt(configIndex);
|
||||
dataStream.writeInt(transmission.ordinal());
|
||||
}
|
||||
|
||||
if(packetType == ConfigurationPacket.INPUT_COLOR)
|
||||
@@ -181,6 +182,7 @@ public class PacketConfigurationUpdate implements IMessageHandler<ConfigurationU
|
||||
{
|
||||
clickType = dataStream.readInt();
|
||||
configIndex = dataStream.readInt();
|
||||
transmission = TransmissionType.values()[dataStream.readInt()];
|
||||
}
|
||||
else if(packetType == ConfigurationPacket.EJECT_COLOR)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user