this is wrong

This commit is contained in:
Nassim Jahnke 2021-11-18 11:32:53 +01:00
parent 6a00bf099e
commit 2e5f3e4d66
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -67,7 +67,7 @@ public final class WorldPackets {
handler(wrapper -> {
final int chunkX = wrapper.passthrough(Type.VAR_INT);
final int chunkZ = wrapper.passthrough(Type.VAR_INT);
if (!Via.getConfig().cache1_17Light() && wrapper.user().get(ChunkLightStorage.class).isLoaded(chunkX, chunkZ)) {
if (wrapper.user().get(ChunkLightStorage.class).isLoaded(chunkX, chunkZ)) {
// Light packets updating already sent chunks are the same as before
return;
}