mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
Fixed a small inventory bug
This commit is contained in:
1 parent
374a7e95b5
commit
08de0ba743
3 files changed
+3
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user