Adjust to Bastion changes

This commit is contained in:
Maxopoly
2020-07-28 00:56:56 +02:00
parent 0e4ebeb3e4
commit 57e8063751

View File

@@ -140,7 +140,7 @@ public class RandomSpawn extends JavaPlugin {
if (isBastionsEnabled) {
BastionBlockManager bm = Bastion.getBastionManager();
if (bm != null) {
if (bm.getBlockingBastion(ret) != null) {
if (!bm.getBlockingBastions(ret).isEmpty()) {
return chooseSpawn(world);
}
}