mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 02:47:44 +01:00
Move ChunkMap setServerViewDistance to ATs
This commit is contained in:
parent
2935905ced
commit
431303ff40
@ -68,6 +68,7 @@ public net.minecraft.server.level.ChunkMap level
|
||||
public net.minecraft.server.level.ChunkMap progressListener
|
||||
public net.minecraft.server.level.ChunkMap save(Lnet/minecraft/world/level/chunk/ChunkAccess;)Z
|
||||
public net.minecraft.server.level.ChunkMap serverViewDistance
|
||||
public net.minecraft.server.level.ChunkMap setServerViewDistance(I)V
|
||||
public net.minecraft.server.level.ChunkMap toDrop
|
||||
public net.minecraft.server.level.ChunkMap updatingChunkMap
|
||||
public net.minecraft.server.level.ChunkMap visibleChunkMap
|
||||
|
@ -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 @@
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user