Remove Tuinity patches (you will be missed)

This commit is contained in:
William Blake Galbreath
2020-03-29 15:13:05 -05:00
parent a8aa1994fc
commit 902a3091e2
147 changed files with 370 additions and 10654 deletions

View File

@@ -1,51 +0,0 @@
From f2745516a51e9bf2765e629bdc036c3af1b5ebb9 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Sun, 26 May 2019 15:18:40 -0500
Subject: [PATCH] Bring back server name
---
src/main/java/org/bukkit/Bukkit.java | 9 +++++++++
src/main/java/org/bukkit/Server.java | 7 +++++++
2 files changed, 16 insertions(+)
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
index 6935cf272..abf7caf0b 100644
--- a/src/main/java/org/bukkit/Bukkit.java
+++ b/src/main/java/org/bukkit/Bukkit.java
@@ -1666,6 +1666,15 @@ public final class Bukkit {
}
// Purpur start
+ /**
+ * Get the name of this server
+ * @return the name of the server
+ */
+ @NotNull
+ public static String getServerName() {
+ return server.getServerName();
+ }
+
/**
* Get a sample of the servers last tick times (in nanos)
*
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index e7166bcd4..f6119933d 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -1475,6 +1475,13 @@ public interface Server extends PluginMessageRecipient {
// Paper end
// Purpur start
+ /**
+ * Get the name of this server
+ * @return the name of the server
+ */
+ @NotNull
+ String getServerName();
+
/**
* Get a sample of the servers last tick times (in nanos)
*
--
2.24.0