Dedicated server: never mesh sections
A dedicated server draws nothing, like the integrated server, yet its streaming still meshed every section it lit (Streaming::mesh followed only options.integrated). It now skips meshing too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6566,8 +6566,9 @@ impl Game<'_> {
|
||||
streaming.biome_zoom = BiomeZoom::new(obfuscate_seed(seed));
|
||||
streaming.sky_light = dim != Dim::Nether;
|
||||
streaming.nether_shading = dim == Dim::Nether;
|
||||
// The integrated server draws nothing (the dedicated server keeps its behaviour).
|
||||
streaming.mesh = !self.options.integrated;
|
||||
// A server draws nothing: neither the integrated server nor the
|
||||
// dedicated one meshes sections.
|
||||
streaming.mesh = !self.options.integrated && self.options.dedicated.is_none();
|
||||
Ok((streaming, save))
|
||||
}
|
||||
/// Change dimension through a portal (Entity.changeDimension with
|
||||
|
||||
Reference in New Issue
Block a user