Adds waypoint limit when creating.

This commit is contained in:
Z61
2015-06-04 00:07:46 -04:00
parent e76bfe0638
commit 531a18b476
2 changed files with 14 additions and 4 deletions
@@ -112,6 +112,11 @@ public class PlayerObject extends IntangibleObject {
return waypoints.get(objId);
}
}
public SWGMap<Long, WaypointObject> getWaypoints() {
synchronized(waypoints) {
return waypoints;
}
}
public void updateWaypoint(WaypointObject obj) {
synchronized(waypoints) {