mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
Fixed a Bug with the ESD only checking 5 sides
(This has been happening since like 1238123 years, but no one noticed it for some reason. Or it's not a bug and I'm just not looking correctly. Who knows.)
This commit is contained in:
parent
8a791da5b5
commit
b2cc628220
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ public class TileEntityInputter extends TileEntityInventoryBase implements IButt
|
|||
//Deal with ISided
|
||||
if(theSided != null){
|
||||
//Check if Item can be inserted from any Side (Because Sidedness gets ignored!)
|
||||
for(int j = 0; j < 5; j++){
|
||||
for(int j = 0; j <= 5; j++){
|
||||
if(theSided.canExtractItem(i, tempStack, j)){
|
||||
theStack = tempStack;
|
||||
theSlotToPull = i;
|
||||
|
@ -242,7 +242,7 @@ public class TileEntityInputter extends TileEntityInventoryBase implements IButt
|
|||
}
|
||||
if(theInventory.isItemValidForSlot(i, this.slots[0]) && (tempStack == null || (tempStack.isItemEqual(this.slots[0]) && tempStack.stackSize < maxSize)) && this.checkBothFilters(this.slots[0])){
|
||||
if(theSided != null){
|
||||
for(int j = 0; j < 5; j++){
|
||||
for(int j = 0; j <= 5; j++){
|
||||
if(theSided.canInsertItem(i, this.slots[0], j)){
|
||||
theStack = tempStack;
|
||||
theSlotToPut = i;
|
||||
|
|
Loading…
Reference in a new issue