3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00

SpongePlugin readd .getParentFile()

Dieser Commit ist enthalten in:
creeper123123321 2020-04-14 12:47:44 -03:00 committet von GitHub
Ursprung 9e4ed56384
Commit c12c43e79a
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -59,7 +59,7 @@ public class SpongePlugin implements ViaPlatform<Player> {
// Setup Logger
logger = new LoggerWrapper(container.getLogger());
// Setup Plugin
conf = new SpongeViaConfig(container, spongeConfig);
conf = new SpongeViaConfig(container, spongeConfig.getParentFile());
SpongeCommandHandler commandHandler = new SpongeCommandHandler();
game.getCommandManager().register(this, commandHandler, "viaversion", "viaver", "vvsponge");
logger.info("ViaVersion " + getPluginVersion() + " is now loaded!");
@ -196,7 +196,7 @@ public class SpongePlugin implements ViaPlatform<Player> {
@Override
public File getDataFolder() {
return spongeConfig;
return spongeConfig.getParentFile();
}
@Override