Move ChunkMap setServerViewDistance to ATs

This commit is contained in:
Bjarne Koll 2024-12-17 20:50:41 +01:00
parent 2935905ced
commit 431303ff40
No known key found for this signature in database
GPG Key ID: 9576DAF3FDDB088F
2 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -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 @@
}