Temporary disable stacking of gastanks

Temp fix for #4696 as a whole lot of code assumes gastanks aren't stackable at all
This commit is contained in:
Tom Elfring committed 2017-09-24 13:39:12 +02:00
1 parent 2c4c997e02
commit a4957dab53
1 file changed
+1 -12
@@ -63,7 +63,7 @@ public class ItemBlockGasTank extends ItemBlock implements IGasItem, ISustainedI
super(block);
metaBlock = block;
setHasSubtypes(true);
setMaxStackSize(16);
setMaxStackSize(1);
setCreativeTab(Mekanism.tabMekanism);
}
@@ -403,15 +403,4 @@ public class ItemBlockGasTank extends ItemBlock implements IGasItem, ISustainedI
{
return hasSecurity(stack);
}
@Override
public int getItemStackLimit(ItemStack stack)
{
GasStack gasStack = getGas(stack);
if(gasStack != null)
{
return 1;
}
return super.getItemStackLimit(stack);
}
}