Fixes a check which broke all bungee portals
This commit is contained in:
parent
2541391d3e
commit
a100ad3fea
@ -143,7 +143,7 @@ public class PlayerEventListener implements Listener {
|
||||
Portal destination = entrancePortal.getPortalActivator().getDestination(player);
|
||||
|
||||
//Catch always open portals without a valid destination to prevent the user for being teleported and denied
|
||||
if (destination == null) {
|
||||
if (!entrancePortal.getOptions().isBungee() && destination == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user