mirror of
https://github.com/ViaVersion/ViaLoader.git
synced 2025-02-23 02:41:20 +01:00
Updated ViaRewind platform implementation
This commit is contained in:
parent
2c4770ab69
commit
f976ac3b85
@ -40,7 +40,7 @@ repositories {
|
||||
dependencies {
|
||||
compileOnly "com.viaversion:viaversion-common:4.10.0-24w07a-SNAPSHOT"
|
||||
compileOnly "com.viaversion:viabackwards-common:4.10.0-24w07a-SNAPSHOT"
|
||||
compileOnly "com.viaversion:viarewind-common:3.0.5"
|
||||
compileOnly "com.viaversion:viarewind-common:3.0.6-SNAPSHOT"
|
||||
compileOnly "net.raphimc:ViaLegacy:2.2.21"
|
||||
compileOnly "net.raphimc:ViaAprilFools:2.0.10"
|
||||
compileOnly "net.raphimc:ViaBedrock:0.0.5-SNAPSHOT"
|
||||
|
@ -30,7 +30,7 @@ public class ViaRewindPlatformImpl implements ViaRewindPlatform {
|
||||
private static final Logger LOGGER = new JLoggerToSLF4J(LoggerFactory.getLogger("ViaRewind"));
|
||||
|
||||
public ViaRewindPlatformImpl() {
|
||||
this.init(new File(Via.getPlatform().getDataFolder(), "viarewind.yml"));
|
||||
this.init(new File(getDataFolder(), "viarewind.yml"));
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -38,4 +38,9 @@ public class ViaRewindPlatformImpl implements ViaRewindPlatform {
|
||||
return LOGGER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public File getDataFolder() {
|
||||
return Via.getPlatform().getDataFolder();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user