Prevent auto play while skill casting.

This commit is contained in:
MobiusDevelopment 2020-12-22 22:14:00 +00:00
parent d8c8007487
commit 34298cb926
4 changed files with 20 additions and 0 deletions

View File

@ -57,6 +57,11 @@ public class AutoPlayTaskManager
continue PLAY;
}
if (player.isCastingNow() || (player.getQueuedSkill() != null))
{
continue PLAY;
}
// Skip thinking.
final WorldObject target = player.getTarget();
if ((target != null) && target.isMonster())

View File

@ -57,6 +57,11 @@ public class AutoPlayTaskManager
continue PLAY;
}
if (player.isCastingNow() || (player.getQueuedSkill() != null))
{
continue PLAY;
}
// Skip thinking.
final WorldObject target = player.getTarget();
if ((target != null) && target.isMonster())

View File

@ -57,6 +57,11 @@ public class AutoPlayTaskManager
continue PLAY;
}
if (player.isCastingNow() || (player.getQueuedSkill() != null))
{
continue PLAY;
}
// Skip thinking.
final WorldObject target = player.getTarget();
if ((target != null) && target.isMonster())

View File

@ -57,6 +57,11 @@ public class AutoPlayTaskManager
continue PLAY;
}
if (player.isCastingNow() || (player.getQueuedSkill() != null))
{
continue PLAY;
}
// Skip thinking.
final WorldObject target = player.getTarget();
if ((target != null) && target.isMonster())