mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
SPIGOT-2303: Use getChunkIfLoaded
By: md_5 <git@md-5.net>
This commit is contained in:
parent
ecb71842df
commit
ba115c957b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@
|
|||
+ }
|
||||
+
|
||||
+ 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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue