From 699ccb90b21619125712ba113151666e6cc14787 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Fri, 14 Mar 2025 11:19:43 +1000 Subject: [PATCH] aa --- .../java/me/cortex/voxy/client/core/WorldImportWrapper.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/cortex/voxy/client/core/WorldImportWrapper.java b/src/main/java/me/cortex/voxy/client/core/WorldImportWrapper.java index c97b1d2d..0736011f 100644 --- a/src/main/java/me/cortex/voxy/client/core/WorldImportWrapper.java +++ b/src/main/java/me/cortex/voxy/client/core/WorldImportWrapper.java @@ -91,8 +91,10 @@ public class WorldImportWrapper { MinecraftClient.getInstance().inGameHud.getChatHud().addMessage(Text.literal(msg)); Logger.info(msg); Taskbar.INSTANCE.setIsNone(); - this.importer.shutdown(); - this.importer = null; + if (this.importer != null) { + this.importer.shutdown(); + this.importer = null; + } }); }); return true;