mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-26 23:13:25 +00:00
min redstone and empty slots
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user