Fix waila not showing downgrade (#27)

This commit is contained in:
Lyfts authored and GitHub committed 2024-02-15 23:37:45 +01:00
1 parent cda7b37da6
commit 9fda32adcf
1 file changed
+1 -1
@@ -183,7 +183,7 @@ public abstract class TileEntityDrawers extends BaseTileEntity implements IDrawe
}
public int getDrawerCapacity() {
return drawerCapacity;
return isDowngraded() ? 1 : drawerCapacity;
}
public void setDrawerCapacity(int stackCount) {