Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
SPIGOT-2282: Get loaded chunk
Dieser Commit ist enthalten in:
Ursprung
3d0ed18e38
Commit
6d133d5440
@ -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
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren