Revert "Never decrease island under the starting size"

This reverts commit 4b0c698eac.
This commit is contained in:
evlad 2022-05-11 16:37:00 +02:00
parent e642f3c3ba
commit 093ef710dc

View File

@ -153,8 +153,7 @@ public class AdvancementsManager {
*/
public int checkIslandSize(Island island) {
// Island is always a minimum of 1 for free.
int defaultSize = addon.getSettings().getIslandProtectionRange();
int shouldSize = getIsland(island).getAdvancements().stream().mapToInt(this::getScore).sum() + defaultSize;
int shouldSize = getIsland(island).getAdvancements().stream().mapToInt(this::getScore).sum() + 1;
if (shouldSize < 1) {
// Boxes can never be less than 1 in protection size
return 0;