Added Player to GalacticPacketIntent to simplify packet logic across Holocore

This commit is contained in:
Obique PSWG
2017-01-08 12:41:14 -06:00
parent cec1d4e5f6
commit abbcafa9ef
24 changed files with 55 additions and 109 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ public class ObjectAwareness extends Service implements TerrainMapCallback {
requestedLocation.setTerrain(obj.getTerrain());
moveObjectWithTransform(obj, parent, requestedLocation, trans.getSpeed(), trans.getUpdateCounter());
} else if (packet instanceof CmdSceneReady) {
handleCmdSceneReady(i.getPlayerManager().getPlayerFromNetworkId(i.getNetworkId()), (CmdSceneReady) packet);
handleCmdSceneReady(i.getPlayer(), (CmdSceneReady) packet);
}
}