mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 01:21:21 +01:00
Fix max-range bug
This commit is contained in:
parent
d92632341d
commit
3282b1bd12
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user