Disables the generation of buttons on bungee portals

This commit is contained in:
Kristian Knarvik 2021-10-23 22:17:02 +02:00
parent a100ad3fea
commit 3367d4bb76

View File

@ -196,7 +196,7 @@ public class PortalCreator {
}
//Add button if the portal is not always on
if (!portalOptions.isAlwaysOn()) {
if (!portalOptions.isAlwaysOn() && !portalOptions.isBungee()) {
generatePortalButton(portalLocation.getTopLeft(), portalLocation.getButtonVector(),
portalLocation.getButtonFacing());
}