Finished Character Sheet, Fixed TARGET_UPDATE, Able to marry players now

This commit is contained in:
Waverunner
2014-03-12 19:50:22 -04:00
parent afb5c58447
commit 53669148eb
7 changed files with 157 additions and 81 deletions
+9 -10
View File
@@ -440,17 +440,16 @@ public class SimulationService implements INetworkDispatch {
@Override
public void handlePacket(IoSession session, IoBuffer data) throws Exception {
data = data.order(ByteOrder.LITTLE_ENDIAN);
data.position(0);
data.order(ByteOrder.LITTLE_ENDIAN);
Client client = core.getClient(session);
if(client == null) {
System.out.println("NULL Client");
return;
}
if(client.getParent() == null) {
System.out.println("NULL Object");
return;
@@ -459,18 +458,18 @@ public class SimulationService implements INetworkDispatch {
TargetUpdate targetUpdate = new TargetUpdate();
targetUpdate.deserialize(data);
object.setTargetId(targetUpdate.getTargetId());
}
});
objControllerOpcodes.put(ObjControllerOpcodes.HOVER_TARGET, new INetworkRemoteEvent() {
@Override
public void handlePacket(IoSession session, IoBuffer data) throws Exception {
}
});