Improves the differentiation between portals (stargates) and gates

This commit is contained in:
2021-09-21 18:28:18 +02:00
parent 24af26324a
commit b7c7252fad
5 changed files with 97 additions and 116 deletions

View File

@ -124,7 +124,7 @@ public final class BungeeHelper {
if (player == null) {
Stargate.bungeeQueue.put(playerName.toLowerCase(), destination);
} else {
Portal destinationPortal = PortalHandler.getBungeeGate(destination);
Portal destinationPortal = PortalHandler.getBungeePortal(destination);
// Specified an invalid gate. For now we'll just let them connect at their current location
if (destinationPortal == null) {
Stargate.logger.info(Stargate.getString("prefix") + "Bungee gate " + destination + " does not exist");