From 4070efd8037313ec9c41eeb889977b3df19f2caa Mon Sep 17 00:00:00 2001 From: Gerrygames Date: Wed, 12 Jun 2019 17:42:11 +0200 Subject: [PATCH] fix wrong light mask --- .../protocol/protocol1_13_2to1_14/Protocol1_13_2To1_14.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/Protocol1_13_2To1_14.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/Protocol1_13_2To1_14.java index 07a16d49..b19cacb0 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/Protocol1_13_2To1_14.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13_2to1_14/Protocol1_13_2To1_14.java @@ -254,7 +254,7 @@ public class Protocol1_13_2To1_14 extends BackwardsProtocol { blockLight[i] = ChunkLightStorage.EMPTY_LIGHT; } } - if (isSet(skyLightMask, 17)) { + if (isSet(blockLightMask, 17)) { wrapper.read(Type.BYTE_ARRAY); }