remove negative additional claim blocks amount
This commit is contained in:
parent
54d0035b44
commit
a4c8eb885d
@ -86,7 +86,7 @@ public class PlayerClaimData {
|
||||
}
|
||||
|
||||
public void setAdditionalClaims(int amount) {
|
||||
this.additionalClaimBlocks = amount;
|
||||
this.additionalClaimBlocks = Math.max(0, amount);
|
||||
this.dirty = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user