Skip to content

Commit

Permalink
Fixes #339
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorinwasher committed Jun 2, 2024
1 parent 2c78397 commit 2459989
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void run(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) {
try {
String portalFolderName = (String) oldConfig.get(LegacyDataHandler
.findConfigKey(new String[]{"portal-folder", "folders.portalFolder"}, oldConfig));
portalFolderName = STARGATE_FOLDER.matcher(portalFolderName).replaceAll("");
String defaultName = (String) oldConfig.get(LegacyDataHandler
.findConfigKey(new String[]{"gates.defaultGateNetwork", "default-gate-network"}, oldConfig));
migratePortals(portalFolderName, defaultName, stargateAPI);
Expand Down Expand Up @@ -270,7 +271,7 @@ private static Map<String, String> loadConfigConversions() {
}

@Override
public boolean willPopulateRegistry(){
public boolean willPopulateRegistry() {
return true;
}

Expand Down

0 comments on commit 2459989

Please sign in to comment.