mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Entangloporters work perfectly!
This commit is contained in:
1 parent
f8f8dfa737
commit
668643e663
9 files changed
+97
-241
No files matched your search
@@ -179,12 +179,12 @@ public class TileComponentEjector implements ITileComponent, IEjector
|
||||
{
|
||||
int slotID = sideData.get(TransmissionType.ITEM).availableSlots[index];
|
||||
|
||||
if(tileEntity.inventory[slotID] == null)
|
||||
if(tileEntity.getStackInSlot(slotID) == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
ItemStack stack = tileEntity.inventory[slotID];
|
||||
ItemStack stack = tileEntity.getStackInSlot(slotID);
|
||||
List<ForgeDirection> outputs = getTrackedOutputs(TransmissionType.ITEM, index, outputSides);
|
||||
|
||||
for(ForgeDirection side : outputs)
|
||||
@@ -217,7 +217,7 @@ public class TileComponentEjector implements ITileComponent, IEjector
|
||||
}
|
||||
}
|
||||
|
||||
tileEntity.inventory[slotID] = stack;
|
||||
tileEntity.setInventorySlotContents(slotID, stack);
|
||||
tileEntity.markDirty();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user