L2Item#checkCondition

Issue #233 new
Tryskell created an issue
if (!preCondition.test(activeChar, target, null, null))

Not sure if your conditions work as they should, last null value should be probably "this".

->

if (!preCondition.test(activeChar, target, null, this))

Comments (3)

  1. Tryskell reporter

    Same for Condition :

        public final boolean test(L2Character caster, L2Character target, L2Item item)
        {
            return test(caster, target, null, null);
        }
    
        public final boolean test(L2Character caster, L2Character target, L2Item item)
        {
            return test(caster, target, null, item);
        }
    
  2. Log in to comment