mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Move ChunkMap setServerViewDistance to ATs
This commit is contained in:
@@ -143,15 +143,6 @@
|
||||
}
|
||||
}, this.unloadQueue::add).whenComplete((_void, error) -> {
|
||||
if (error != null) {
|
||||
@@ -818,7 +_,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- protected void setServerViewDistance(int viewDistance) {
|
||||
+ public void setServerViewDistance(int viewDistance) { // Paper - public
|
||||
int i = Mth.clamp(viewDistance, 2, 32);
|
||||
if (i != this.serverViewDistance) {
|
||||
this.serverViewDistance = i;
|
||||
@@ -856,7 +_,7 @@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user