not air return

This commit is contained in:
mcrcortex
2025-09-22 13:47:13 +10:00
parent 301d587535
commit 3f94bba49e

View File

@@ -53,6 +53,10 @@ public abstract class MixinClientWorld {
private void voxy$injectIngestOnStateChange(BlockPos pos, BlockState old, BlockState updated, CallbackInfo cir) { private void voxy$injectIngestOnStateChange(BlockPos pos, BlockState old, BlockState updated, CallbackInfo cir) {
if (old == updated) return; 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(); var system = ((IGetVoxyRenderSystem)(this.worldRenderer)).getVoxyRenderSystem();
if (system == null) { if (system == null) {
return; return;