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:
Ursprung
9e4ed56384
Commit
c12c43e79a
@ -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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren