mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
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:
@@ -6,7 +6,7 @@ Subject: [PATCH] Optimize GameRules to use LinkedHashMap
|
||||
Previously TreeMap was used which has poor get(K) performance.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/GameRules.java b/src/main/java/net/minecraft/server/GameRules.java
|
||||
index 3de9d264db..c6a8004745 100644
|
||||
index 3de9d264d..c6a800474 100644
|
||||
--- a/src/main/java/net/minecraft/server/GameRules.java
|
||||
+++ b/src/main/java/net/minecraft/server/GameRules.java
|
||||
@@ -0,0 +0,0 @@ import javax.annotation.Nullable;
|
||||
@@ -49,7 +49,7 @@ index 3de9d264db..c6a8004745 100644
|
||||
}
|
||||
|
||||
diff --git a/src/test/java/org/bukkit/GameRuleTest.java b/src/test/java/org/bukkit/GameRuleTest.java
|
||||
index 1ed0f4cf2b..40edb8d668 100644
|
||||
index 1ed0f4cf2..40edb8d66 100644
|
||||
--- a/src/test/java/org/bukkit/GameRuleTest.java
|
||||
+++ b/src/test/java/org/bukkit/GameRuleTest.java
|
||||
@@ -0,0 +0,0 @@ public class GameRuleTest {
|
||||
|
Reference in New Issue
Block a user