mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-15 07:05:44 +01:00
SPIGOT-4958: API to set map trackingPosition
This commit is contained in:
parent
401432b995
commit
b114affb9d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user