Prevent auto play while skill casting.
This commit is contained in:
@@ -57,6 +57,11 @@ public class AutoPlayTaskManager
|
|||||||
continue PLAY;
|
continue PLAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player.isCastingNow() || (player.getQueuedSkill() != null))
|
||||||
|
{
|
||||||
|
continue PLAY;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip thinking.
|
// Skip thinking.
|
||||||
final WorldObject target = player.getTarget();
|
final WorldObject target = player.getTarget();
|
||||||
if ((target != null) && target.isMonster())
|
if ((target != null) && target.isMonster())
|
||||||
|
@@ -57,6 +57,11 @@ public class AutoPlayTaskManager
|
|||||||
continue PLAY;
|
continue PLAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player.isCastingNow() || (player.getQueuedSkill() != null))
|
||||||
|
{
|
||||||
|
continue PLAY;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip thinking.
|
// Skip thinking.
|
||||||
final WorldObject target = player.getTarget();
|
final WorldObject target = player.getTarget();
|
||||||
if ((target != null) && target.isMonster())
|
if ((target != null) && target.isMonster())
|
||||||
|
@@ -57,6 +57,11 @@ public class AutoPlayTaskManager
|
|||||||
continue PLAY;
|
continue PLAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player.isCastingNow() || (player.getQueuedSkill() != null))
|
||||||
|
{
|
||||||
|
continue PLAY;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip thinking.
|
// Skip thinking.
|
||||||
final WorldObject target = player.getTarget();
|
final WorldObject target = player.getTarget();
|
||||||
if ((target != null) && target.isMonster())
|
if ((target != null) && target.isMonster())
|
||||||
|
@@ -57,6 +57,11 @@ public class AutoPlayTaskManager
|
|||||||
continue PLAY;
|
continue PLAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player.isCastingNow() || (player.getQueuedSkill() != null))
|
||||||
|
{
|
||||||
|
continue PLAY;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip thinking.
|
// Skip thinking.
|
||||||
final WorldObject target = player.getTarget();
|
final WorldObject target = player.getTarget();
|
||||||
if ((target != null) && target.isMonster())
|
if ((target != null) && target.isMonster())
|
||||||
|
Reference in New Issue
Block a user