Merge pull request #4575 from deathbeam/fix-plane-for-tile-objects
Account for plane in TileObject canvas location
This commit is contained in:
@@ -87,7 +87,7 @@ public abstract class TileObjectMixin implements TileObject
|
|||||||
@Inject
|
@Inject
|
||||||
public Point getCanvasLocation(int zOffset)
|
public Point getCanvasLocation(int zOffset)
|
||||||
{
|
{
|
||||||
return Perspective.worldToCanvas(client, getX(), getY(), 0, zOffset);
|
return Perspective.worldToCanvas(client, getX(), getY(), getPlane(), zOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user