mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
... Comments!
This commit is contained in:
@@ -330,14 +330,14 @@ public class Chunk {
|
||||
}
|
||||
|
||||
public int getTypeId(int i, int j, int k) {
|
||||
if (j >> 4 >= sections.length) return 0;
|
||||
if (j >> 4 >= sections.length) return 0; // CraftBukkit - added until next release
|
||||
ChunkSection chunksection = this.sections[j >> 4];
|
||||
|
||||
return chunksection != null ? chunksection.a(i, j & 15, k) : 0;
|
||||
}
|
||||
|
||||
public int getData(int i, int j, int k) {
|
||||
if (j >> 4 >= sections.length) return 0;
|
||||
if (j >> 4 >= sections.length) return 0; // CraftBukkit - added until next release
|
||||
ChunkSection chunksection = this.sections[j >> 4];
|
||||
|
||||
return chunksection != null ? chunksection.b(i, j & 15, k) : 0;
|
||||
|
Reference in New Issue
Block a user