From e468e027ba4da7d84879ec6a14ecf3d6d6fb1245 Mon Sep 17 00:00:00 2001 From: themode Date: Wed, 5 Jan 2022 11:38:13 +0100 Subject: [PATCH] Fix broken count --- .../java/net/minestom/server/instance/palette/PaletteImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/minestom/server/instance/palette/PaletteImpl.java b/src/main/java/net/minestom/server/instance/palette/PaletteImpl.java index fab606963..6375b74c9 100644 --- a/src/main/java/net/minestom/server/instance/palette/PaletteImpl.java +++ b/src/main/java/net/minestom/server/instance/palette/PaletteImpl.java @@ -209,7 +209,6 @@ final class PaletteImpl implements Palette, Cloneable { count++; } else { cache[i] = 0; - count--; } } // Set values to final array