Updated engine, added static map locations, added some creature deltas

This commit is contained in:
Light2
2013-07-12 00:41:08 +02:00
parent 1d8c8c0898
commit 551232b442
14 changed files with 239 additions and 70 deletions
+3 -1
View File
@@ -21,6 +21,8 @@
******************************************************************************/
package protocol.swg;
import java.nio.ByteOrder;
import org.apache.mina.core.buffer.IoBuffer;
@@ -35,6 +37,6 @@ public class CmdSceneReady extends SWGMessage {
}
public IoBuffer serialize() {
return IoBuffer.wrap(data);
return IoBuffer.allocate(6).order(ByteOrder.LITTLE_ENDIAN).put(data).flip();
}
}