Code improvements.
This commit is contained in:
@@ -40,6 +40,6 @@ public class ConditionPlayerFlyMounted extends Condition
|
||||
@Override
|
||||
public boolean testImpl(L2Character effector, L2Character effected, Skill skill, L2Item item)
|
||||
{
|
||||
return (effector.getActingPlayer() != null) ? effector.getActingPlayer().isFlyingMounted() == _val : true;
|
||||
return (effector.getActingPlayer() == null) || (effector.getActingPlayer().isFlyingMounted() == _val);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user