mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-22 21:19:54 +00:00
Fix sided inventory on back side; prep for release
This commit is contained in:
1 parent
544d39a498
commit
879ba8667a
2 files changed
+3
-4
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user