Do not add liquid bars to blocks with 0 liquid capacity

This commit is contained in:
Anuken
2026-09-19 23:24:54 -04:00
parent d2c5e09413
commit 9f065cea59

View File

@@ -760,7 +760,7 @@ public class Block extends UnlockableContent implements Senseable{
}
//nothing was added, so it's safe to add a dynamic liquid bar (probably?)
if(!added){
if(!added && liquidCapacity > 0f){
addLiquidBar(build -> build.liquids.current());
}
}