mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Fix warning
This commit is contained in:
parent
fceafb0b1e
commit
266ecd5b64
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user