Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2025-01-07 05:40:11 +01:00
fix missing reversion of api patch
(Let's pretend you didn't see this)
Dieser Commit ist enthalten in:
Ursprung
a72509fbe1
Commit
e0d8e0dde5
@ -1,4 +1,4 @@
|
|||||||
From 102438c9e61363d4cdc0d5c7330c1383523ebc4b Mon Sep 17 00:00:00 2001
|
From 809f5b4c1be70938c5b10f4c7639904a499b5951 Mon Sep 17 00:00:00 2001
|
||||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||||
Date: Thu, 19 Jul 2018 15:07:02 -0500
|
Date: Thu, 19 Jul 2018 15:07:02 -0500
|
||||||
Subject: [PATCH] Add an asterisk to legacy API plugins
|
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.
|
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
|
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
|
--- a/src/main/java/org/bukkit/UnsafeValues.java
|
||||||
+++ b/src/main/java/org/bukkit/UnsafeValues.java
|
+++ b/src/main/java/org/bukkit/UnsafeValues.java
|
||||||
@@ -76,5 +76,9 @@ public interface UnsafeValues {
|
@@ -76,5 +76,9 @@ public interface UnsafeValues {
|
||||||
@ -16,7 +16,7 @@ index 72c5501e..9e96e12c 100644
|
|||||||
String getTimingsServerName();
|
String getTimingsServerName();
|
||||||
+
|
+
|
||||||
+ static boolean isLegacyPlugin(org.bukkit.plugin.Plugin plugin) {
|
+ 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
|
// Paper end
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren