From 0362399ba76b7f7d28c8d35b6b40d7b50a543080 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Fri, 2 Aug 2024 22:02:33 +1000 Subject: [PATCH] Set the default clear value to 0 --- .../java/me/cortex/voxy/common/world/ActiveSectionTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/cortex/voxy/common/world/ActiveSectionTracker.java b/src/main/java/me/cortex/voxy/common/world/ActiveSectionTracker.java index 455fcbf2..3b47d60e 100644 --- a/src/main/java/me/cortex/voxy/common/world/ActiveSectionTracker.java +++ b/src/main/java/me/cortex/voxy/common/world/ActiveSectionTracker.java @@ -66,7 +66,7 @@ public class ActiveSectionTracker { //TODO: REWRITE THE section tracker _again_ to not be so shit and jank, and so that Arrays.fill is not 10% of the execution time if (status == 1) { //We need to set the data to air as it is undefined state - Arrays.fill(section.data, Mapper.withLight(Mapper.AIR, 15));//Since lighting is inverted + Arrays.fill(section.data, 0);//Max skylight } section.acquire(); holder.obj = section;