From 18d8ef9117b522ae225b203b8d1e1b55746ea66d Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Sun, 21 Jan 2024 12:16:31 +0100 Subject: [PATCH] Correct implementation of ViaVersionPlatformImpl#hasPlugin --- .../raphimc/vialoader/impl/platform/ViaVersionPlatformImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/raphimc/vialoader/impl/platform/ViaVersionPlatformImpl.java b/src/main/java/net/raphimc/vialoader/impl/platform/ViaVersionPlatformImpl.java index 9fa430f..09965ba 100644 --- a/src/main/java/net/raphimc/vialoader/impl/platform/ViaVersionPlatformImpl.java +++ b/src/main/java/net/raphimc/vialoader/impl/platform/ViaVersionPlatformImpl.java @@ -123,7 +123,7 @@ public class ViaVersionPlatformImpl implements ViaPlatform { @Override public boolean hasPlugin(String s) { - return s.equalsIgnoreCase("ViaVersion") || s.equalsIgnoreCase("ViaBackwards") || s.equalsIgnoreCase("ViaRewind"); + return false; // Used for ViaPlatform#getUnsupportedSoftwareClasses } @Override