From e9c97cff89fa9b16ef977f14d2fa94bd93a1f38c Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Wed, 21 Apr 2021 11:41:50 -0300 Subject: [PATCH] fix base protocol --- build.gradle.kts | 4 +--- .../viafabric/protocol/ViaFabricHostnameProtocol.java | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c5911d9..0b90119 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,15 +28,13 @@ extra.set("archivesBaseName", "ViaFabric") description = "Client-side and server-side ViaVersion implementation for Fabric" repositories { - mavenLocal() + //mavenLocal() mavenCentral() - jcenter() maven(url = "https://repo.viaversion.com/") maven(url = "https://oss.sonatype.org/content/repositories/snapshots") maven(url = "https://maven.fabricmc.net/") maven(url = "https://server.bbkr.space/artifactory/libs-snapshot") maven(url = "https://server.bbkr.space/artifactory/libs-release") - maven(url = "https://maven.extracraftx.com") maven("https://maven.terraformersmc.com/releases/") } diff --git a/src/main/java/com/github/creeper123123321/viafabric/protocol/ViaFabricHostnameProtocol.java b/src/main/java/com/github/creeper123123321/viafabric/protocol/ViaFabricHostnameProtocol.java index e82215b..a6518dd 100644 --- a/src/main/java/com/github/creeper123123321/viafabric/protocol/ViaFabricHostnameProtocol.java +++ b/src/main/java/com/github/creeper123123321/viafabric/protocol/ViaFabricHostnameProtocol.java @@ -26,4 +26,9 @@ public class ViaFabricHostnameProtocol extends SimpleProtocol { } }); } + + @Override + public boolean isBaseProtocol() { + return true; + } }