Fixed a Bin issue
This commit is contained in:
parent
1b41d04b93
commit
c2f7735115
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public class ItemBlockBasic extends ItemBlock implements IEnergizedItem
|
|||
{
|
||||
if(Block.getBlockFromItem(this) == MekanismBlocks.BasicBlock && stack.getItemDamage() == 6)
|
||||
{
|
||||
return 1;
|
||||
return new InventoryBin(stack).getItemCount() == 0 ? super.getItemStackLimit(stack) : 1;
|
||||
}
|
||||
|
||||
return super.getItemStackLimit(stack);
|
||||
|
|
|
@ -40,7 +40,7 @@ public class BinRecipe implements IRecipe
|
|||
return false;
|
||||
}
|
||||
|
||||
return itemStack.getItem() instanceof ItemBlockBasic && itemStack.getItemDamage() == 6;
|
||||
return itemStack.getItem() instanceof ItemBlockBasic && itemStack.getItemDamage() == 6 && itemStack.stackSize == 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue