13
0
geforkt von Mirrors/Paper

SPIGOT-4958: API to set map trackingPosition

Dieser Commit ist enthalten in:
md_5 2019-05-20 19:29:51 +10:00
Ursprung 401432b995
Commit b114affb9d

Datei anzeigen

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