Add Actor#isMoving
This commit is contained in:
@@ -292,4 +292,10 @@ public abstract class RSActorMixin implements RSActor
|
||||
event.setHitsplat(hitsplat);
|
||||
client.getCallbacks().post(event);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public boolean isMoving() {
|
||||
return getPathLength() > 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user