min redstone and empty slots

This commit is contained in:
Justin Aquadro committed 2016-04-02 16:48:18 -04:00
1 parent 6af11eb66c
commit 705c3a3478
1 file changed
+2
@@ -438,6 +438,8 @@ public abstract class TileEntityDrawers extends BaseTileEntity implements IDrawe
IDrawer drawer = getDrawer(i);
if (drawer.getMaxCapacity() > 0)
minRatio = Math.min(minRatio, (float)drawer.getStoredItemCount() / drawer.getMaxCapacity());
else
minRatio = 0;
}
if (minRatio > 1)