Fix Failed Insert Loop in IO Port.
This commit is contained in:
parent
ba27380edf
commit
6084ac4e80
1 changed files with 6 additions and 2 deletions
|
@ -379,8 +379,12 @@ public class TileIOPort extends AENetworkInvTile implements IUpgradeableHost, IC
|
|||
src.injectItems( failed, Actionable.MODULATE, mySrc );
|
||||
}
|
||||
|
||||
itemsToMove -= possible;
|
||||
didStuff = true;
|
||||
if ( possible > 0 )
|
||||
{
|
||||
itemsToMove -= possible;
|
||||
didStuff = true;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue