From c55cd801ec125ea34b2bfedec41aedd0ad9e52dd Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Sun, 18 Jun 2023 20:43:50 +0200 Subject: [PATCH] Removed MovementTransmitterProvider use() call (updated ViaVersion to 4.7.1-SNAPSHOT) (#259) --- gradle.properties | 2 +- .../java/com/viaversion/fabric/mc114/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc115/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc116/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc117/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc118/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc119/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc120/platform/VFLoader.java | 3 --- .../java/com/viaversion/fabric/mc18/platform/VFLoader.java | 3 --- 9 files changed, 1 insertion(+), 25 deletions(-) diff --git a/gradle.properties b/gradle.properties index d68c108..11d0682 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication loader_version=0.14.21 -viaver_version=4.7.0 +viaver_version=4.7.1-SNAPSHOT yaml_version=2.0 publish_mc_versions=1.20, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4, 1.8.9 diff --git a/viafabric-mc114/src/main/java/com/viaversion/fabric/mc114/platform/VFLoader.java b/viafabric-mc114/src/main/java/com/viaversion/fabric/mc114/platform/VFLoader.java index bcc96fe..a5fc15d 100644 --- a/viafabric-mc114/src/main/java/com/viaversion/fabric/mc114/platform/VFLoader.java +++ b/viafabric-mc114/src/main/java/com/viaversion/fabric/mc114/platform/VFLoader.java @@ -8,15 +8,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc115/src/main/java/com/viaversion/fabric/mc115/platform/VFLoader.java b/viafabric-mc115/src/main/java/com/viaversion/fabric/mc115/platform/VFLoader.java index 57c6594..2bc02e3 100644 --- a/viafabric-mc115/src/main/java/com/viaversion/fabric/mc115/platform/VFLoader.java +++ b/viafabric-mc115/src/main/java/com/viaversion/fabric/mc115/platform/VFLoader.java @@ -8,15 +8,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc116/src/main/java/com/viaversion/fabric/mc116/platform/VFLoader.java b/viafabric-mc116/src/main/java/com/viaversion/fabric/mc116/platform/VFLoader.java index 790f053..5002f1f 100644 --- a/viafabric-mc116/src/main/java/com/viaversion/fabric/mc116/platform/VFLoader.java +++ b/viafabric-mc116/src/main/java/com/viaversion/fabric/mc116/platform/VFLoader.java @@ -10,15 +10,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc117/src/main/java/com/viaversion/fabric/mc117/platform/VFLoader.java b/viafabric-mc117/src/main/java/com/viaversion/fabric/mc117/platform/VFLoader.java index 5e04167..5b16a4e 100644 --- a/viafabric-mc117/src/main/java/com/viaversion/fabric/mc117/platform/VFLoader.java +++ b/viafabric-mc117/src/main/java/com/viaversion/fabric/mc117/platform/VFLoader.java @@ -10,15 +10,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc118/src/main/java/com/viaversion/fabric/mc118/platform/VFLoader.java b/viafabric-mc118/src/main/java/com/viaversion/fabric/mc118/platform/VFLoader.java index 49e5e6b..fa21592 100644 --- a/viafabric-mc118/src/main/java/com/viaversion/fabric/mc118/platform/VFLoader.java +++ b/viafabric-mc118/src/main/java/com/viaversion/fabric/mc118/platform/VFLoader.java @@ -10,15 +10,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc119/src/main/java/com/viaversion/fabric/mc119/platform/VFLoader.java b/viafabric-mc119/src/main/java/com/viaversion/fabric/mc119/platform/VFLoader.java index 275ef76..80fac35 100644 --- a/viafabric-mc119/src/main/java/com/viaversion/fabric/mc119/platform/VFLoader.java +++ b/viafabric-mc119/src/main/java/com/viaversion/fabric/mc119/platform/VFLoader.java @@ -10,15 +10,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc120/src/main/java/com/viaversion/fabric/mc120/platform/VFLoader.java b/viafabric-mc120/src/main/java/com/viaversion/fabric/mc120/platform/VFLoader.java index 002384a..8819ead 100644 --- a/viafabric-mc120/src/main/java/com/viaversion/fabric/mc120/platform/VFLoader.java +++ b/viafabric-mc120/src/main/java/com/viaversion/fabric/mc120/platform/VFLoader.java @@ -10,15 +10,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) { diff --git a/viafabric-mc18/src/main/java/com/viaversion/fabric/mc18/platform/VFLoader.java b/viafabric-mc18/src/main/java/com/viaversion/fabric/mc18/platform/VFLoader.java index 351eafa..7c077bf 100644 --- a/viafabric-mc18/src/main/java/com/viaversion/fabric/mc18/platform/VFLoader.java +++ b/viafabric-mc18/src/main/java/com/viaversion/fabric/mc18/platform/VFLoader.java @@ -6,15 +6,12 @@ import net.fabricmc.api.EnvType; import net.fabricmc.loader.api.FabricLoader; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.platform.ViaPlatformLoader; -import com.viaversion.viaversion.bungee.providers.BungeeMovementTransmitter; import com.viaversion.viaversion.api.protocol.version.VersionProvider; import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.HandItemProvider; -import com.viaversion.viaversion.protocols.protocol1_9to1_8.providers.MovementTransmitterProvider; public class VFLoader implements ViaPlatformLoader { @Override public void load() { - Via.getManager().getProviders().use(MovementTransmitterProvider.class, new BungeeMovementTransmitter()); Via.getManager().getProviders().use(VersionProvider.class, new FabricVersionProvider()); if (Via.getPlatform().getConf().isItemCache()) {