diff --git a/src/protocol/swg/SUICreatePageMessage.java b/src/protocol/swg/SUICreatePageMessage.java index ead54772..6ed71340 100644 --- a/src/protocol/swg/SUICreatePageMessage.java +++ b/src/protocol/swg/SUICreatePageMessage.java @@ -78,7 +78,7 @@ public class SUICreatePageMessage extends SWGMessage{ } result.putLong(rangeObjectId); - result.put(new byte[] { 0xFF, 0xFF, 0x7F, 0x7F, 0xFF, 0xFF, 0x7F, 0x7F, 0xFF, 0xFF, 0x7F, 0x7F}); + result.put(new byte[] { (byte) 0xFF, (byte) 0xFF, 0x7F, 0x7F, (byte) 0xFF, (byte) 0xFF, 0x7F, 0x7F, (byte) 0xFF, (byte) 0xFF, 0x7F, 0x7F}); result.putFloat(range); int size = result.position(); diff --git a/src/protocol/swg/SUIUpdatePageMessage.java b/src/protocol/swg/SUIUpdatePageMessage.java index ce8c6f9c..06d6f571 100644 --- a/src/protocol/swg/SUIUpdatePageMessage.java +++ b/src/protocol/swg/SUIUpdatePageMessage.java @@ -76,7 +76,7 @@ public class SUIUpdatePageMessage extends SWGMessage { } result.putLong(rangeObjectId); - result.put(new byte[] { 0xFF, 0xFF, 0x7F, 0x7F, 0xFF, 0xFF, 0x7F, 0x7F, 0xFF, 0xFF, 0x7F, 0x7F}); + result.put(new byte[] { (byte) 0xFF, (byte) 0xFF, 0x7F, 0x7F, (byte) 0xFF, (byte) 0xFF, 0x7F, 0x7F, (byte) 0xFF, (byte) 0xFF, 0x7F, 0x7F}); result.putFloat(range); int size = result.position();