mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 01:47:42 +01:00
SPIGOT-2303: Use getChunkIfLoaded
This commit is contained in:
parent
8982e3f33e
commit
a022dd22fd
@ -63,7 +63,7 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ public Chunk getChunkIfLoaded(int x, int z) {
|
+ public Chunk getChunkIfLoaded(int x, int z) {
|
||||||
+ return ((ChunkProviderServer) this.chunkProvider).getLoadedChunkAt(x, z);
|
+ return ((ChunkProviderServer) this.chunkProvider).getChunkIfLoaded(x, z);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ protected World(IDataManager idatamanager, WorldData worlddata, WorldProvider worldprovider, MethodProfiler methodprofiler, boolean flag, ChunkGenerator gen, org.bukkit.World.Environment env) {
|
+ protected World(IDataManager idatamanager, WorldData worlddata, WorldProvider worldprovider, MethodProfiler methodprofiler, boolean flag, ChunkGenerator gen, org.bukkit.World.Environment env) {
|
||||||
|
Loading…
Reference in New Issue
Block a user