remove negative additional claim blocks amount

This commit is contained in:
Flemmli97 2021-05-31 14:22:48 +02:00
parent 54d0035b44
commit a4c8eb885d

View File

@ -86,7 +86,7 @@ public class PlayerClaimData {
}
public void setAdditionalClaims(int amount) {
this.additionalClaimBlocks = amount;
this.additionalClaimBlocks = Math.max(0, amount);
this.dirty = true;
}