geforkt von Mirrors/Paper
SPIGOT-4958: API to set map trackingPosition
Dieser Commit ist enthalten in:
Ursprung
401432b995
Commit
b114affb9d
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren