if (activeChar.isStunned() || activeChar.isConfused() || activeChar.isAway() || activeChar.isParalyzed() || activeChar.isSleeping() || activeChar.isDead())
{
activeChar.sendMessage("You Cannot Use Items Right Now.");
activeChar.sendPacket(new ExAutoSoulShot(id, 0));
activeChar.setAutoPot(id, null, false);
return;
}
The check already exists, simply remove two/three lines (return is a must) and voila.
AutoPot runnable method.