mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Merge branch 'development' into 1.8.9
Huge merge with 202 conflicts, hopefully not *too* broken.
This commit is contained in:
commit
84336ec4d1
571 files changed
+10295
-4773
No files matched your search
@@ -2,7 +2,6 @@ package mekanism.common.content.transporter;
|
||||
|
||||
import mekanism.api.util.StackUtils;
|
||||
import mekanism.common.util.InventoryUtils;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.ISidedInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -19,13 +18,14 @@ public class StackSearcher
|
||||
{
|
||||
theInventory = InventoryUtils.checkChestInv(inventory);
|
||||
side = direction;
|
||||
|
||||
if(!(theInventory instanceof ISidedInventory))
|
||||
{
|
||||
i = inventory.getSizeInventory();
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
else {
|
||||
slots = ((ISidedInventory)theInventory).getSlotsForFace(side.getOpposite());
|
||||
|
||||
if(slots != null)
|
||||
{
|
||||
i = slots.length;
|
||||
@@ -149,7 +149,4 @@ public class StackSearcher
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user