mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
Added MapService along with temporary locations for tatooine cities
This commit is contained in:
@@ -161,8 +161,6 @@ public class ZoneService extends Service {
|
||||
handleCmdSceneReady(player, (CmdSceneReady) p);
|
||||
if (p instanceof SetWaypointColor)
|
||||
handleSetWaypointColor(player, (SetWaypointColor) p);
|
||||
if (p instanceof GetMapLocationsMessage)
|
||||
handleMapLocationsResponse(player, (GetMapLocationsMessage) p);
|
||||
if(p instanceof ShowBackpack)
|
||||
handleShowBackpack(player, (ShowBackpack) p);
|
||||
if(p instanceof ShowHelmet)
|
||||
@@ -211,11 +209,6 @@ public class ZoneService extends Service {
|
||||
private void handleShowHelmet(Player player, ShowHelmet p) {
|
||||
player.getPlayerObject().setShowHelmet(p.showingHelmet());
|
||||
}
|
||||
|
||||
private void handleMapLocationsResponse(Player player, GetMapLocationsMessage p) {
|
||||
// TODO Implement actual handling in GU2, this is to avoid constant map location requests from the client
|
||||
player.sendPacket(new GetMapLocationsResponseMessage(p.getPlanet()));
|
||||
}
|
||||
|
||||
private void handleSetWaypointColor(Player player, SetWaypointColor p) {
|
||||
// TODO Should move this to a different service, maybe make a service for other packets similar to this (ie misc.)
|
||||
|
||||
Reference in New Issue
Block a user