mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fixed Logistical Transporter packet issue, fixed JEI crashes
This commit is contained in:
1 parent
afd3525a4b
commit
bfef18c0d3
6 files changed
+14
-49
No files matched your search
@@ -150,7 +150,11 @@ public class PacketHandler
|
||||
try {
|
||||
for(Object data : dataValues)
|
||||
{
|
||||
if(data instanceof Integer)
|
||||
if(data instanceof Byte)
|
||||
{
|
||||
output.writeByte((Byte)data);
|
||||
}
|
||||
else if(data instanceof Integer)
|
||||
{
|
||||
output.writeInt((Integer)data);
|
||||
}
|
||||
@@ -178,10 +182,6 @@ public class PacketHandler
|
||||
{
|
||||
writeString(output, (String)data);
|
||||
}
|
||||
else if(data instanceof Byte)
|
||||
{
|
||||
output.writeByte((Byte)data);
|
||||
}
|
||||
else if(data instanceof EnumFacing)
|
||||
{
|
||||
output.writeInt(((EnumFacing)data).ordinal());
|
||||
|
||||
Reference in new issue
Block a user