Merge pull request #4575 from deathbeam/fix-plane-for-tile-objects

Account for plane in TileObject canvas location
This commit is contained in:
Tomas Slusny
2018-07-30 17:14:19 +02:00
committed by GitHub

View File

@@ -87,7 +87,7 @@ public abstract class TileObjectMixin implements TileObject
@Inject
public Point getCanvasLocation(int zOffset)
{
return Perspective.worldToCanvas(client, getX(), getY(), 0, zOffset);
return Perspective.worldToCanvas(client, getX(), getY(), getPlane(), zOffset);
}
@Override