mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-04 14:31: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) {
|
public void setMaxEverProtectionRange(int maxEverProtectionRange) {
|
||||||
this.maxEverProtectionRange = maxEverProtectionRange;
|
this.maxEverProtectionRange = maxEverProtectionRange;
|
||||||
if (maxEverProtectionRange > this.range) {
|
if (maxEverProtectionRange > this.range) {
|
||||||
maxEverProtectionRange = this.range;
|
this.maxEverProtectionRange = this.range;
|
||||||
}
|
}
|
||||||
setChanged();
|
setChanged();
|
||||||
}
|
}
|
||||||
@ -604,7 +604,7 @@ public class Island implements DataObject, MetaDataAble {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getUniqueId() {
|
public @NonNull String getUniqueId() {
|
||||||
return uniqueId;
|
return uniqueId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user