mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-24 02:55:50 +01:00
Add more info to missing light data warning
This commit is contained in:
parent
04e936d487
commit
b8a170873d
@ -168,6 +168,7 @@ public final class WorldPacketRewriter1_18 {
|
||||
lightStorage.getLight(chunk.getX(), chunk.getZ()) : lightStorage.removeLight(chunk.getX(), chunk.getZ());
|
||||
if (light == null) {
|
||||
protocol.getLogger().warning("No light data found for chunk at " + chunk.getX() + ", " + chunk.getZ() + ". Chunk was already loaded: " + alreadyLoaded);
|
||||
protocol.getLogger().warning("This means another plugin is sending chunk data in a bad order, or you need to re-enable the cache-1_17-light config option.");
|
||||
|
||||
final BitSet emptyLightMask = new BitSet();
|
||||
emptyLightMask.set(0, tracker.currentWorldSectionHeight() + 2);
|
||||
|
Loading…
Reference in New Issue
Block a user