mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 12:42:36 +00:00
Fixed performance of Vat, SAG Mill and AlloySmelter
This commit is contained in:
1 parent
7abf8d26f0
commit
be5a1fb371
9 files changed
+140
-14
No files matched your search
@@ -448,7 +448,7 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
|
||||
for(int i=0;i<targetSlots.length;i++) {
|
||||
int tSlot = targetSlots[i];
|
||||
ItemStack targetStack = target.getStackInSlot(tSlot);
|
||||
if(targetStack != null) {
|
||||
if(targetStack != null && target.canExtractItem(i, targetStack, side.getOpposite().ordinal())) {
|
||||
int res = ItemUtil.doInsertItem(this, targetStack, side.getOpposite());
|
||||
if(res > 0) {
|
||||
targetStack = targetStack.copy();
|
||||
|
||||
Reference in new issue
Block a user