|
@@ -2032,7 +2032,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder
|
|
|
*/
|
|
|
protected boolean checkDoCastConditions(L2Skill skill)
|
|
|
{
|
|
|
- if ((skill == null) || isSkillDisabled(skill))
|
|
|
+ if ((skill == null) || isSkillDisabled(skill) || (((skill.getFlyRadius() > 0) || (skill.getFlyType() != null)) && isMovementDisabled()))
|
|
|
{
|
|
|
// Send a Server->Client packet ActionFailed to the L2PcInstance
|
|
|
sendPacket(ActionFailed.STATIC_PACKET);
|