Fixed a small inventory bug
This commit is contained in:
parent
374a7e95b5
commit
08de0ba743
3 changed files with 3 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@ public class TileEntitySolarEvaporationValve extends TileEntitySolarEvaporationB
|
|||
prevMaster = (master != null);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fill(ForgeDirection from, FluidStack resource, boolean doFill)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue