Fix animation detection

This commit is contained in:
RedSparr0w committed 2019-12-05 09:20:08 +13:00
1 parent 0afdf3d60c
commit 27d35a1e28
5 files changed
+4 -1

No files matched your search

@@ -40,7 +40,7 @@ public class LogicHandler {
return Players.getMyPlayer().isInCombat();
case "Within x Tiles of Coords":
return new Tile(a.getParam(1), a.getParam(2)).distanceTo() < a.getParam(0);
case "Player Animation ID":
case "Detect Animation ID":
for (int i = 0; i <= a.getParam(1); i+=5) //Allow multiple checks for when the animation is happening
{
Time.sleep(5);