Fix sided inventory on back side; prep for release

This commit is contained in:
Justin Aquadro committed 2014-08-29 01:43:30 -04:00
1 parent 544d39a498
commit 879ba8667a
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
{
"modid": "StorageDrawers",
"name": "Storage Drawers",
"description": "Multi-drawers storage blocks for quick storage and retrieval.",
"description": "Multi-drawer storage blocks for quick storage and retrieval.",
"version": "1.0.0",
"credits": "By jaquadro",
"logoFile": "",
@@ -408,9 +408,8 @@ public class TileEntityDrawers extends TileEntity implements ISidedInventory
if (slot >= getSizeInventory())
return false;
int[] validSides = getAccessibleSlotsFromSide(side);
for (int i = 0; i < validSides.length; i++) {
if (side == validSides[i]) {
for (int i = 0; i < autoSides.length; i++) {
if (side == autoSides[i]) {
return isItemValidForSlot(slot, stack);
}
}