fix color resolve for liquid blocks

This commit is contained in:
Vojtěch Šokala
2026-05-07 03:39:49 +02:00
parent 7ae4a9f460
commit 72bfd0a2bb
@@ -253,7 +253,7 @@ public class ClientBlockStateColorCache
// getQuads() isn't thread safe so we need to put this logic in a lock
RESOLVE_LOCK.lock();
#if MC_VER <= MC_1_12_2
if (this.blockState.getMaterial().isLiquid())
if (!this.blockState.getMaterial().isLiquid())
#else
if (this.blockState.getFluidState().isEmpty())
#endif