More work on NPC conversation packets

This commit is contained in:
Light2
2014-03-31 20:13:37 +02:00
parent 0fea686f15
commit 4ccbf89727
7 changed files with 224 additions and 3 deletions
+2 -1
View File
@@ -43,6 +43,7 @@ public class OutOfBand {
buffer.putInt(2);
buffer.putShort(getCount());
buffer.putShort((short) 0); // unk
for(ProsePackage prosePackage : prosePackages) {
@@ -88,7 +89,7 @@ public class OutOfBand {
setLength(buffer);
return buffer.flip();
return IoBuffer.allocate(buffer.position()).order(ByteOrder.LITTLE_ENDIAN).put(buffer).flip();
}
public void setLength(IoBuffer buffer) {