SPIGOT-1626 / MC-98994: Fix slow chunk performance

Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-03-05 18:50:38 +11:00
parent 4fc9890f64
commit 52a2a37b2f
3 changed files with 27 additions and 8 deletions

View File

@@ -0,0 +1,9 @@
--- a/net/minecraft/server/IChunkProvider.java
+++ b/net/minecraft/server/IChunkProvider.java
@@ -9,4 +9,6 @@
boolean unloadChunks();
String getName();
+
+ Chunk getOrCreateChunkFast(int x, int z); // CraftBukkit
}