From 240098ffc9872561ddd61c108e9d92588d499e66 Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Tue, 7 May 2019 18:43:07 -0700 Subject: [PATCH] Fix legacy checks for plugins --- .../0120-Add-an-asterisk-to-legacy-API-plugins.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spigot-API-Patches/0120-Add-an-asterisk-to-legacy-API-plugins.patch b/Spigot-API-Patches/0120-Add-an-asterisk-to-legacy-API-plugins.patch index ea6ab7d1d..402d002db 100644 --- a/Spigot-API-Patches/0120-Add-an-asterisk-to-legacy-API-plugins.patch +++ b/Spigot-API-Patches/0120-Add-an-asterisk-to-legacy-API-plugins.patch @@ -1,4 +1,4 @@ -From 13c2ac68421f8cadf0d1bfe0d00095cf882561a0 Mon Sep 17 00:00:00 2001 +From b61f88251146a6769329d7ce7d1188f6dbd9e076 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 19 Jul 2018 15:07:02 -0500 Subject: [PATCH] Add an asterisk to legacy API plugins @@ -7,7 +7,7 @@ Not here to name and shame, only so server admins can be aware of which plugins have and haven't been updated. diff --git a/src/main/java/org/bukkit/UnsafeValues.java b/src/main/java/org/bukkit/UnsafeValues.java -index 72c5501e..9e96e12c 100644 +index 72c5501e..71da4a79 100644 --- a/src/main/java/org/bukkit/UnsafeValues.java +++ b/src/main/java/org/bukkit/UnsafeValues.java @@ -76,5 +76,9 @@ public interface UnsafeValues { @@ -16,7 +16,7 @@ index 72c5501e..9e96e12c 100644 String getTimingsServerName(); + + static boolean isLegacyPlugin(org.bukkit.plugin.Plugin plugin) { -+ return !("1.13".equals(plugin.getDescription().getAPIVersion())); ++ return !"1.13".equals(plugin.getDescription().getAPIVersion()) && !"1.14".equals(plugin.getDescription().getAPIVersion()); + } // Paper end }