28 if (
system ==
null)
return;
48 if (
system.getDaysSinceLastPlayerVisit() < 10f) {
56 float distLY = Misc.getDistanceLY(pf.getLocationInHyperspace(),
system.getLocation());
64 List<SectorEntityToken>
remove =
new ArrayList<SectorEntityToken>();
65 for (SectorEntityToken curr :
Global.
getSector().getHyperspace().getJumpPoints()) {
66 JumpPointAPI jp = (JumpPointAPI) curr;
67 if (jp.getDestinations().isEmpty())
continue;
68 JumpDestination dest = jp.getDestinations().get(0);
69 if (dest.getDestination() ==
null)
continue;
70 if (
system == dest.getDestination().getStarSystem()) {
75 for (NascentGravityWellAPI curr :
Global.
getSector().getHyperspace().getGravityWells()) {
76 if (curr.getTarget() ==
null)
continue;
77 if (
system == curr.getTarget().getStarSystem()) {
82 remove.add(
system.getHyperspaceAnchor());
84 for (SectorEntityToken curr :
remove) {