[ci skip] Add more identifying patch comments

This commit is contained in:
Nassim Jahnke 2024-01-19 22:13:42 +01:00
parent 1c956abfbc
commit 42e88a8b7b
No known key found for this signature in database
GPG key ID: EF6771C01F6EF02F
87 changed files with 405 additions and 411 deletions

View file

@ -21,14 +21,14 @@ index fb529eac9..faf425588 100644
this.e.set(1, false);
this.b.seek(0L);
+ // Paper Start
+ // Paper start
+ java.nio.ByteBuffer header = java.nio.ByteBuffer.allocate(8192);
+ while (header.hasRemaining()) {
+ if (this.getDataFile().getChannel().read(header) == -1) throw new java.io.EOFException();
+ }
+ ((java.nio.Buffer) header).clear();
+ java.nio.IntBuffer headerAsInts = header.asIntBuffer();
+ // Paper End
+ // Paper end
+
int k;

View file

@ -123,7 +123,7 @@ index 21b3b06f53..8718811655 100644
+ public synchronized boolean hasRegionFile(File file, int i, int j) {
+ return cache.containsKey(ChunkCoordIntPair.pair(i, j));
+ }
+ // Paper End
+ // Paper end
+
@Nullable
public NBTTagCompound read(ChunkCoordIntPair chunkcoordintpair) throws IOException {