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:
Ludovic Marie
2026-10-18 04:01:54 +02:00
parent 9f7bd91109
commit 0f482a45c8
+3 -2
View File
@@ -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