Fixed a Bin issue

This commit is contained in:
aidancbrady committed 2015-05-28 16:43:01 -04:00
1 parent 1b41d04b93
commit c2f7735115
2 files changed
+2 -2

No files matched your search

@@ -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);