From 3290d4ae24f556c61ef863c43d50699a5f79aedd Mon Sep 17 00:00:00 2001 From: KennyTV Date: Thu, 3 Jun 2021 10:40:25 +0200 Subject: [PATCH] Expose lateBind field in ViaVersionPlugin --- .../main/java/com/viaversion/viaversion/ViaVersionPlugin.java | 4 ++++ bukkit/src/main/resources/plugin.yml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bukkit/src/main/java/com/viaversion/viaversion/ViaVersionPlugin.java b/bukkit/src/main/java/com/viaversion/viaversion/ViaVersionPlugin.java index 20b195c6c..3e0f5b1e0 100644 --- a/bukkit/src/main/java/com/viaversion/viaversion/ViaVersionPlugin.java +++ b/bukkit/src/main/java/com/viaversion/viaversion/ViaVersionPlugin.java @@ -300,6 +300,10 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaPlatform return Collections.unmodifiableList(list); } + public boolean isLateBind() { + return lateBind; + } + public boolean isCompatSpigotBuild() { return compatSpigotBuild; } diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index a3169e4d1..d01034c49 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -3,7 +3,6 @@ main: com.viaversion.viaversion.ViaVersionPlugin authors: [_MylesC, creeper123123321, Gerrygames, KennyTV, Matsv] version: ${version} description: ${description} -load: postworld api-version: 1.13 loadbefore: [ProtocolLib, ProxyPipe, SpigotLib, SkinRestorer] softdepend: [ProtocolSupport, PacketListenerApi]