-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 0013-Linear-region-file-format.patch
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: HaHaWTH <[email protected].com> | ||
Date: Sun, 30 Jun 2024 00:35:19 +0800 | ||
From: BloodredX <bloodred.xhamster@gmail.com> | ||
Date: Wed, 28 Jun 2024 08:47:23 GMT+5:30 | ||
Subject: [PATCH] Linear region file format | ||
|
||
Original license: MIT | ||
|
@@ -137,7 +137,7 @@ index cb39c629af1827078f35904a373d35a63fea17ff..dc41c7c4616fa925427cd5a862f3923c | |
} | ||
|
||
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java | ||
index 6d864396f72220d9c92733a38ff6f2fd235238f5..66fadf8b6e01624272bcf303979687f9d9418402 100644 | ||
index eb0389ad86300665b6e057bcfa1d7c068dc6c6ab..66fadf8b6e01624272bcf303979687f9d9418402 100644 | ||
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java | ||
+++ b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFile.java | ||
@@ -28,7 +28,7 @@ import net.minecraft.nbt.NbtIo; // Paper | ||
|
@@ -181,7 +181,7 @@ index 6d864396f72220d9c92733a38ff6f2fd235238f5..66fadf8b6e01624272bcf303979687f9 | |
try (DataInputStream out = new DataInputStream(new java.io.BufferedInputStream(new InflaterInputStream(Files.newInputStream(file))))) { | ||
return NbtIo.read((java.io.DataInput) out); | ||
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java | ||
index 54f7aa95cfbcf39bb86ad1b4eb0f9ff2f8526030..7c4b81e97562bb158478c70dae082526413cd534 100644 | ||
index 23917b903a978a3ac25c397080e92642f1674107..7c4b81e97562bb158478c70dae082526413cd534 100644 | ||
--- a/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java | ||
+++ b/src/main/java/net/minecraft/world/level/chunk/storage/RegionFileStorage.java | ||
@@ -21,7 +21,7 @@ public class RegionFileStorage implements AutoCloseable, ca.spottedleaf.moonrise | ||
|