From 3f94bba49e816c91abddf0cf9769b56a60dc4173 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Mon, 22 Sep 2025 13:47:13 +1000 Subject: [PATCH] not air return --- .../cortex/voxy/client/mixin/minecraft/MixinClientWorld.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinClientWorld.java b/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinClientWorld.java index fb75d8ac..94307c3e 100644 --- a/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinClientWorld.java +++ b/src/main/java/me/cortex/voxy/client/mixin/minecraft/MixinClientWorld.java @@ -53,6 +53,10 @@ public abstract class MixinClientWorld { private void voxy$injectIngestOnStateChange(BlockPos pos, BlockState old, BlockState updated, CallbackInfo cir) { if (old == updated) return; + //TODO: is this _really_ needed, we should have enough processing power to not need todo it if its only a + // block removal + if (!updated.isAir()) return; + var system = ((IGetVoxyRenderSystem)(this.worldRenderer)).getVoxyRenderSystem(); if (system == null) { return;