mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 10:07:37 +01:00
Make pessimistic assumption on lighting to handle broken chunk
generators
This commit is contained in:
parent
99caded016
commit
a5bbe6bdd4
@ -902,7 +902,7 @@ public abstract class GenericMapChunkCache extends MapChunkCache {
|
||||
if (status.equals(litStates[i])) { hasLitState = true; }
|
||||
}
|
||||
}
|
||||
boolean hasLight = hasLitState; // Assume good light in a lit state
|
||||
boolean hasLight = false; // pessimistic: only has light if we see it, due to WB and other flawed chunk generation hasLitState; // Assume good light in a lit state
|
||||
|
||||
// Start generic chunk builder
|
||||
GenericChunk.Builder bld = new GenericChunk.Builder(dw.minY, dw.worldheight);
|
||||
|
Loading…
Reference in New Issue
Block a user