13
0
geforkt von Mirrors/Paper

SPIGOT-2282: Get loaded chunk

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2016-05-15 22:14:47 +10:00
Ursprung 477241471c
Commit 4d42c823d2

Datei anzeigen

@ -46,6 +46,7 @@
} }
public Chunk getChunkAt(int i, int j) { public Chunk getChunkAt(int i, int j) {
- Chunk chunk = this.getOrLoadChunkAt(i, j);
+ return getChunkAt(i, j, null); + return getChunkAt(i, j, null);
+ } + }
+ +
@ -82,7 +83,7 @@
+ } + }
+ +
+ public Chunk originalGetChunkAt(int i, int j) { + public Chunk originalGetChunkAt(int i, int j) {
Chunk chunk = this.getOrLoadChunkAt(i, j); + Chunk chunk = this.getLoadedChunkAt(i, j);
+ boolean newChunk = false; + boolean newChunk = false;
+ // CraftBukkit end + // CraftBukkit end