mirror of https://github.com/cabaletta/baritone
fix realms
This commit is contained in:
parent
6bee5828a0
commit
2ca4c3042a
|
@ -74,7 +74,7 @@ public class WorldProvider implements IWorldProvider, Helper {
|
|||
directory = new File(directory, "baritone");
|
||||
readme = directory;
|
||||
} else { // Otherwise, the server must be remote...
|
||||
String folderName = mc.getCurrentServerData().serverIP;
|
||||
String folderName = mc.isConnectedToRealms() ? "realms" : mc.getCurrentServerData().serverIP;
|
||||
if (SystemUtils.IS_OS_WINDOWS) {
|
||||
folderName = folderName.replace(":", "_");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue