diff --git a/src/main/java/block/event/separator/mixin/common/ServerLevelMixin.java b/src/main/java/block/event/separator/mixin/common/ServerLevelMixin.java index a8bd32b..064c83f 100644 --- a/src/main/java/block/event/separator/mixin/common/ServerLevelMixin.java +++ b/src/main/java/block/event/separator/mixin/common/ServerLevelMixin.java @@ -91,6 +91,10 @@ private void onNextBlockEvent(CallbackInfo ci) { ) ) private void postBlockEvents(CallbackInfo ci) { + if (ignoreLastBatch_bes) { + BlockEventCounters.currentDepth--; + } + ((IMinecraftServer)server).postBlockEvents_bes(); } @@ -101,10 +105,6 @@ private void postBlockEvents(CallbackInfo ci) { ) ) private void onBlockEvent(BlockEventData data, CallbackInfoReturnable cir) { - if (ignoreLastBatch_bes) { - BlockEventCounters.currentDepth--; - } - BlockEventCounters.movingBlocksThisEvent = 0; }