updated via*, remove Rewind loader

This commit is contained in:
FlorianMichael 2021-07-10 20:39:41 +02:00
parent 74b9d06c69
commit 2e77f253e5
6 changed files with 1 additions and 24 deletions

Binary file not shown.

View File

@ -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);
}

View File

@ -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();
}
}

View File

@ -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")),