Add getWorldLocation mixin for Actor
This commit is contained in:
@@ -116,6 +116,14 @@ public abstract class RSActorMixin implements RSActor
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Inject
|
||||
public Point getWorldLocation()
|
||||
{
|
||||
Point localLocation = getLocalLocation();
|
||||
return Perspective.localToWorld(client, localLocation);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public Point getLocalLocation()
|
||||
|
||||
Reference in New Issue
Block a user