From 7a7c2ad8d70829a1ade9328760e5d6915dcbbb10 Mon Sep 17 00:00:00 2001 From: hartie95 Date: Fri, 2 Feb 2024 13:43:28 +0100 Subject: [PATCH] [Building] Fixed removed class still being imported creating a jar --- build.gradle | 1 + src/main/java/emu/grasscutter/Grasscutter.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 17d80236..d6307f9d 100644 --- a/build.gradle +++ b/build.gradle @@ -136,6 +136,7 @@ jar { manifest { attributes 'Main-Class': 'emu.grasscutter.Grasscutter' } + zip64 = true archiveBaseName = 'grasscutter' if (project.hasProperty('jarFilename')) { diff --git a/src/main/java/emu/grasscutter/Grasscutter.java b/src/main/java/emu/grasscutter/Grasscutter.java index 63a7d58a..22810af7 100644 --- a/src/main/java/emu/grasscutter/Grasscutter.java +++ b/src/main/java/emu/grasscutter/Grasscutter.java @@ -19,7 +19,6 @@ import emu.grasscutter.game.avatar.TowerAvatar; import emu.grasscutter.game.dungeons.dungeon_entry.PlayerDungeonExitInfo; import emu.grasscutter.plugin.PluginManager; import emu.grasscutter.plugin.api.ServerHook; -import emu.grasscutter.scripts.ScriptLoader; import emu.grasscutter.server.game.GameServer; import emu.grasscutter.server.http.HttpServer; import emu.grasscutter.server.http.dispatch.DispatchHandler;