ItemStack slot = var1.getStackInSlot(i);
if (slot != null)
{
if (slot.getItem() instanceof IModularMissileItem)
{
<BUG>if (missileStack != null)
return null;
missileStack = slot.copy();</BUG>
}
else if (slot.getItem() instanceof IModuleItem)

ItemStack slot = var1.getStackInSlot(i);
if (slot != null)
{
if (slot.getItem() instanceof IModularMissileItem)
{
if (missileStack != null)
{
return null;
}
missileStack = slot.copy();
}
else if (slot.getItem() instanceof IModuleItem)
