Fixed a small inventory bug

This commit is contained in:
aidancbrady 2015-06-04 01:17:49 -04:00
parent 374a7e95b5
commit 08de0ba743
3 changed files with 3 additions and 2 deletions

View file

@ -271,7 +271,7 @@ public class BlockBasic extends Block implements IBlockCTM, ICustomBlockIcon
case 6:
return icons[meta][side];
case 14:
if(side == 3)
if(side == 2)
{
return icons[meta][0];
}

View file

@ -35,6 +35,7 @@ public class TileEntitySolarEvaporationValve extends TileEntitySolarEvaporationB
prevMaster = (master != null);
}
}
@Override
public int fill(ForgeDirection from, FluidStack resource, boolean doFill)
{

View file

@ -143,7 +143,7 @@ public final class InventoryUtils
if(!force)
{
if(!sidedInventory.isItemValidForSlot(slotID, toInsert) && !sidedInventory.canInsertItem(slotID, toInsert, ForgeDirection.OPPOSITES[side]))
if(!sidedInventory.isItemValidForSlot(slotID, toInsert) || !sidedInventory.canInsertItem(slotID, toInsert, ForgeDirection.OPPOSITES[side]))
{
continue;
}