More compile fixes

- Re-removes Bukkit#getServerName - This was (hopefully?) only added back
  for Timings v2. It should be kept in that scope.

- Intend to let PlayerViewDistance API slip. Given the scope of the
  changes in this area it seems best to let this slip past initial
  release. It can be re-added when there is additional time to focus on it
  and the changed systems it relies on. If it is fixed prior to release
  this is implemented as a single shim patch that can be dropped.
This commit is contained in:
Zach Brown 2019-05-06 03:20:16 -04:00
parent 8dfd5dc0c4
commit 27c7749f42
No known key found for this signature in database
GPG key ID: CC9DA35FC5450B76
56 changed files with 574 additions and 309 deletions

View file

@ -1,14 +1,14 @@
From d601b47efb8159c2a7493e065a32ea52e14d1566 Mon Sep 17 00:00:00 2001
From 8359b55e6f3fabe4f725ca31005c4cad376d4a23 Mon Sep 17 00:00:00 2001
From: kashike <kashike@vq.lc>
Date: Mon, 29 Feb 2016 19:48:59 -0600
Subject: [PATCH] Expose server CommandMap
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
index 97ec6c53..218f5fc9 100644
index 62b120ef..e4e1c980 100644
--- a/src/main/java/org/bukkit/Bukkit.java
+++ b/src/main/java/org/bukkit/Bukkit.java
@@ -1498,6 +1498,19 @@ public final class Bukkit {
@@ -1487,6 +1487,19 @@ public final class Bukkit {
return server.getUnsafe();
}
@ -29,10 +29,10 @@ index 97ec6c53..218f5fc9 100644
public static Server.Spigot spigot()
{
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
index c94c5d90..c5435c42 100644
index 3912c434..f0850919 100644
--- a/src/main/java/org/bukkit/Server.java
+++ b/src/main/java/org/bukkit/Server.java
@@ -1117,6 +1117,15 @@ public interface Server extends PluginMessageRecipient {
@@ -1108,6 +1108,15 @@ public interface Server extends PluginMessageRecipient {
public double[] getTPS();
// Paper end