SPIGOT-4958: API to set map trackingPosition

This commit is contained in:
md_5 2019-05-20 19:29:51 +10:00
parent 401432b995
commit b114affb9d

View File

@ -176,6 +176,16 @@ public final class CraftMapView implements MapView {
return render;
}
@Override
public boolean isTrackingPosition() {
return worldMap.track;
}
@Override
public void setTrackingPosition(boolean trackingPosition) {
worldMap.track = trackingPosition;
}
@Override
public boolean isUnlimitedTracking() {
return worldMap.unlimitedTracking;