Skip to content

Commit 46fce32

Browse files
committed
chore: update version to match upstream
1 parent cbb141b commit 46fce32

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ loom_version=1.14-SNAPSHOT
1515
fabric_version=0.140.2+1.21.11
1616

1717
# Mod Properties
18-
mod_version = mia-edition-2.5
18+
mod_version = mia-edition-2.15
1919
maven_group = me.cortex
2020
archives_base_name = voxy

‎src/main/java/me/cortex/voxy/client/VoxyClientInstance.java‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ protected ImportManager createImportManager() {
7171
protected SectionStorage createStorage(WorldIdentifier identifier) {
7272
var ctx = new ConfigBuildCtx();
7373

74-
// File sharedFolder = basePath.resolveSibling(StringUtils.substringAfter(basePath.toFile().getName(), ".")).toFile();
75-
// String finalBasePath = sharedFolder.exists() && sharedFolder.isDirectory() ? sharedFolder.getAbsolutePath() : basePath.toString();
74+
File sharedFolder = basePath.resolveSibling(StringUtils.substringAfter(basePath.toFile().getName(), ".")).toFile();
75+
String finalBasePath = sharedFolder.exists() && sharedFolder.isDirectory() ? sharedFolder.getAbsolutePath() : basePath.toString();
7676

77-
// ctx.setProperty(ConfigBuildCtx.BASE_SAVE_PATH, finalBasePath);
78-
// ctx.setProperty(ConfigBuildCtx.WORLD_IDENTIFIER, getWorldId(identifier));
79-
// ctx.setProperty(ConfigBuildCtx.PLAYER_UUID, Minecraft.getInstance().getUser().getProfileId().toString().replace(':','-'));
80-
81-
ctx.setProperty(ConfigBuildCtx.BASE_SAVE_PATH, this.basePath.toString()); // comment three for unified folder lod
82-
ctx.setProperty(ConfigBuildCtx.WORLD_IDENTIFIER, identifier.getWorldId()); // and uncomment the five ones above
77+
ctx.setProperty(ConfigBuildCtx.BASE_SAVE_PATH, finalBasePath);
78+
ctx.setProperty(ConfigBuildCtx.WORLD_IDENTIFIER, getWorldId(identifier));
8379
ctx.setProperty(ConfigBuildCtx.PLAYER_UUID, Minecraft.getInstance().getUser().getProfileId().toString().replace(':','-'));
8480

81+
//ctx.setProperty(ConfigBuildCtx.BASE_SAVE_PATH, this.basePath.toString()); // comment three for unified folder lod
82+
//ctx.setProperty(ConfigBuildCtx.WORLD_IDENTIFIER, identifier.getWorldId()); // and uncomment the five ones above
83+
//ctx.setProperty(ConfigBuildCtx.PLAYER_UUID, Minecraft.getInstance().getUser().getProfileId().toString().replace(':','-'));
84+
8585
ctx.pushPath(ConfigBuildCtx.DEFAULT_STORAGE_PATH);
8686

8787
return this.config.sectionStorageConfig.build(ctx);

0 commit comments

Comments
 (0)