Skip to content

Commit

Permalink
replace : with _ in server name data dir resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Oct 8, 2023
1 parent b13aeb9 commit d07877c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/xaeroplus/util/DataFolderResolveUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static void resolveDataFolder(final ClientPlayNetworkHandler connection,
if (serverName.length() > 0) {
// use common directories based on server list name instead of IP
// good for proxies
cir.setReturnValue("Multiplayer_" + serverName);
cir.setReturnValue("Multiplayer_" + serverName.replace(":", "_" ));
cir.cancel();
return;
}
Expand Down

0 comments on commit d07877c

Please sign in to comment.