Added weather

This commit is contained in:
Light2
2013-11-21 15:17:32 +01:00
parent 3f721f876f
commit e7350687db
5 changed files with 139 additions and 2 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ public class ServerWeatherMessage extends SWGMessage {
}
public IoBuffer serialize() {
IoBuffer result = IoBuffer.allocate(26).order(ByteOrder.LITTLE_ENDIAN);;
IoBuffer result = IoBuffer.allocate(22).order(ByteOrder.LITTLE_ENDIAN);
result.putShort((short)3);
result.putInt(0x486356EA);
@@ -54,6 +54,6 @@ public class ServerWeatherMessage extends SWGMessage {
result.putFloat(cloudY);
result.putFloat(cloudZ);
return result;
return result.flip();
}
}