From 2e5f3e4d66f04fa317226b785dcce32b0d45a2e7 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 18 Nov 2021 11:32:53 +0100 Subject: [PATCH] this is wrong --- .../protocols/protocol1_18to1_17_1/packets/WorldPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_18to1_17_1/packets/WorldPackets.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_18to1_17_1/packets/WorldPackets.java index 870b72817..babff6c00 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_18to1_17_1/packets/WorldPackets.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_18to1_17_1/packets/WorldPackets.java @@ -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; }