Fix warning

This commit is contained in:
TheMode 2021-07-21 20:06:12 +02:00
parent fceafb0b1e
commit 266ecd5b64

View File

@ -105,7 +105,7 @@ public final class Palette implements PublicCloneable<Palette> {
if (currentAir != placedAir) {
// Block count changed
this.blockCount += currentAir ? 1 : -1;
this.blockCount += (short) (currentAir ? 1 : -1);
}
blocks[index] = block;
}