File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed
src/main/java/com/github/kd_gaming1/packcore Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1- - feat: add code to force-close the Zen and Krypt update notification; this should be handled by the modpack.
2- - feat: add function to disable Skyblocker dungeon map on startup; it is being replaced by Krypt in the new configs.
1+ - fix: skyblocker configs being reset on startup.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ org.gradle.configuration-cache=false
66# Mod properties
77mod.name =PackCore
88mod.id =packcore
9- mod.version =3.2.1
9+ mod.version =3.2.2
1010mod.group =com.github.kd_gaming1
1111
1212# Global dependencies
Original file line number Diff line number Diff line change @@ -101,11 +101,19 @@ public void onInitializeClient() {
101101 PackCoreConfig .write (MOD_ID );
102102 }
103103
104- if (!PackCoreConfig .haveSetDungeonMapConfig ) {
105- DungeonMap .disableDungeonMap ();
106- PackCoreConfig .haveSetDungeonMapConfig = true ;
107- PackCoreConfig .write (MOD_ID );
108- }
104+ ClientLifecycleEvents .CLIENT_STARTED .register (client -> {
105+ client .execute (() -> {
106+ try {
107+ if (!PackCoreConfig .haveSetDungeonMapConfig ) {
108+ DungeonMap .disableDungeonMap ();
109+ PackCoreConfig .haveSetDungeonMapConfig = true ;
110+ PackCoreConfig .write (MOD_ID );
111+ }
112+ } catch (Exception e ) {
113+ LOGGER .warn ("Failed to apply DungeonMap config after startup" , e );
114+ }
115+ });
116+ });
109117
110118 ClientTickEvents .END_CLIENT_TICK .register (client -> {
111119 try {
You can’t perform that action at this time.
0 commit comments