Skip to content

Release 2.21.3 #379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<!-- Do not change unless you want different name for local builds. -->
<build.number>-LOCAL</build.number>
<!-- This allows to change between versions. -->
<build.version>2.21.2</build.version>
<build.version>2.21.3</build.version>
<sonar.projectKey>BentoBoxWorld_Level</sonar.projectKey>
<sonar.organization>bentobox-world</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
import world.bentobox.level.config.BlockConfig;

public class IslandLevelCalculator {
private final UUID calcId = UUID.randomUUID(); // ID for hashing
private static final String LINE_BREAK = "==================================";
public static final long MAX_AMOUNT = 10000000;
private static final int CHUNKS_TO_SCAN = 100;
Expand Down Expand Up @@ -791,4 +792,16 @@ private CompletableFuture<Void> handleStackedBlocks() {

}

@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof IslandLevelCalculator)) return false;
IslandLevelCalculator that = (IslandLevelCalculator) o;
return calcId.equals(that.calcId);
}

@Override
public int hashCode() {
return calcId.hashCode();
}
}
Loading