From e447052ecabf7a25a4ee78191aebe12e8f34c10a Mon Sep 17 00:00:00 2001 From: MatteCarra Date: Sun, 6 Mar 2016 19:11:13 +0100 Subject: [PATCH] Chunk light fix --- src/main/java/org/spacehq/mc/protocol/util/NetUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spacehq/mc/protocol/util/NetUtil.java b/src/main/java/org/spacehq/mc/protocol/util/NetUtil.java index 7e241f5c..d678ce6f 100644 --- a/src/main/java/org/spacehq/mc/protocol/util/NetUtil.java +++ b/src/main/java/org/spacehq/mc/protocol/util/NetUtil.java @@ -281,7 +281,7 @@ public class NetUtil { chunk.getBlocks().write(out); chunk.getBlockLight().write(out); if(hasSkylight) { - chunk.getBlockLight().write(out); + chunk.getSkyLight().write(out); } } }