Improves config readability, but breaks backwards compatibility

This commit is contained in:
2021-09-19 17:46:20 +02:00
parent d5e6f1145c
commit 8ff30ed03f
3 changed files with 143 additions and 123 deletions

View File

@ -1029,10 +1029,10 @@ public class Portal {
activePlayer = player;
String network = getNetwork();
destinations = PortalHandler.getDestinations(this, player, network);
if (Stargate.sortLists) {
if (Stargate.sortNetworkDestinations) {
Collections.sort(destinations);
}
if (Stargate.destMemory && !lastDestination.isEmpty() && destinations.contains(lastDestination)) {
if (Stargate.rememberDestination && !lastDestination.isEmpty() && destinations.contains(lastDestination)) {
destination = lastDestination;
}
@ -1113,7 +1113,7 @@ public class Portal {
return;
}
if (!Stargate.destMemory || !activate || lastDestination.isEmpty()) {
if (!Stargate.rememberDestination || !activate || lastDestination.isEmpty()) {
cycleDestination(direction);
}
openTime = System.currentTimeMillis() / 1000;