mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-22 12:05:23 +01:00
updated via*, remove Rewind loader
This commit is contained in:
parent
74b9d06c69
commit
2e77f253e5
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -6,7 +6,6 @@ import com.viaversion.viaversion.api.Via;
|
||||
import com.viaversion.viaversion.api.data.MappingDataLoader;
|
||||
import de.enzaxd.viaforge.loader.VRBackwardsLoader;
|
||||
import de.enzaxd.viaforge.loader.VRProviderLoader;
|
||||
import de.enzaxd.viaforge.loader.VRRewindLoader;
|
||||
import de.enzaxd.viaforge.platform.VRInjector;
|
||||
import de.enzaxd.viaforge.platform.VRPlatform;
|
||||
import de.enzaxd.viaforge.utils.JLoggerToLog4j;
|
||||
@ -65,7 +64,6 @@ public class ViaForge {
|
||||
((ViaManagerImpl) Via.getManager()).init();
|
||||
|
||||
new VRBackwardsLoader(file);
|
||||
new VRRewindLoader(file);
|
||||
|
||||
initFuture.complete(null);
|
||||
}
|
||||
|
@ -1,22 +0,0 @@
|
||||
package de.enzaxd.viaforge.loader;
|
||||
|
||||
import com.viaversion.viaversion.api.Via;
|
||||
import de.gerrygames.viarewind.api.ViaRewindConfigImpl;
|
||||
import de.gerrygames.viarewind.api.ViaRewindPlatform;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class VRRewindLoader implements ViaRewindPlatform {
|
||||
|
||||
public VRRewindLoader(final File file) {
|
||||
final ViaRewindConfigImpl conf = new ViaRewindConfigImpl(file.toPath().resolve("ViaRewind").resolve("config.yml").toFile());
|
||||
conf.reloadConfig();
|
||||
this.init(conf);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Logger getLogger() {
|
||||
return Via.getPlatform().getLogger();
|
||||
}
|
||||
}
|
@ -4,6 +4,7 @@ import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||
|
||||
public enum ProtocolCollection {
|
||||
|
||||
R1_17_1(new ProtocolVersion(756, "1.17.1")),
|
||||
R1_17(new ProtocolVersion(755, "1.17")),
|
||||
|
||||
R1_16_5(new ProtocolVersion(754, "1.16.4-1.16.5")),
|
||||
|
Loading…
Reference in New Issue
Block a user