geforkt von Mirrors/Paper
Fix off by one for determining server view distance
It was 1 greater than it should've been. lvar renaming caused the field viewDistance to be read when it should've been reading the watchDistance
Dieser Commit ist enthalten in:
Ursprung
25181bebe6
Commit
9ba1f65d29
@ -1379,7 +1379,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
this.viewDistance = j;
|
||||
- this.setNoTickViewDistance(this.getRawNoTickViewDistance()); // Paper - no-tick view distance - propagate changes to no-tick, which does the actual chunk loading/sending
|
||||
+ this.playerChunkManager.setTickDistance(Mth.clamp(viewDistance, 2, 32)); // Paper - replace player loader system
|
||||
+ this.playerChunkManager.setTickDistance(Mth.clamp(watchDistance, 2, 32)); // Paper - replace player loader system
|
||||
}
|
||||
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren