Fix max-range bug

This commit is contained in:
tastybento 2021-09-18 08:14:43 -07:00
parent d92632341d
commit 3282b1bd12
1 changed files with 2 additions and 2 deletions

View File

@ -562,7 +562,7 @@ public class Island implements DataObject, MetaDataAble {
public void setMaxEverProtectionRange(int maxEverProtectionRange) {
this.maxEverProtectionRange = maxEverProtectionRange;
if (maxEverProtectionRange > this.range) {
maxEverProtectionRange = this.range;
this.maxEverProtectionRange = this.range;
}
setChanged();
}
@ -604,7 +604,7 @@ public class Island implements DataObject, MetaDataAble {
}
@Override
public String getUniqueId() {
public @NonNull String getUniqueId() {
return uniqueId;
}