diff options
Diffstat (limited to 'patches/server/0326-Optimise-Chunk-getFluid.patch')
-rw-r--r-- | patches/server/0326-Optimise-Chunk-getFluid.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0326-Optimise-Chunk-getFluid.patch b/patches/server/0326-Optimise-Chunk-getFluid.patch index 955f6f3ed8..0e2e9cccd5 100644 --- a/patches/server/0326-Optimise-Chunk-getFluid.patch +++ b/patches/server/0326-Optimise-Chunk-getFluid.patch @@ -8,10 +8,10 @@ faster on its own, however removing the try catch makes it easier to inline due to code size diff --git a/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java b/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java -index 9a94b0513e8b75c8acf0117bc0fbf563655ec3d8..46a5d9270aaaccb2df7131fb9c921cccf914085c 100644 +index a0f9fb2ac15f2fa51a3bbe915550155ac2e76649..c7be1f8fdca34bcc12ecbe40ee5f426e0cd068d7 100644 --- a/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java +++ b/src/main/java/net/minecraft/world/level/chunk/LevelChunk.java -@@ -369,18 +369,20 @@ public class LevelChunk extends ChunkAccess { +@@ -270,18 +270,20 @@ public class LevelChunk extends ChunkAccess { } public FluidState getFluidState(int x, int y, int z) { @@ -38,7 +38,7 @@ index 9a94b0513e8b75c8acf0117bc0fbf563655ec3d8..46a5d9270aaaccb2df7131fb9c921ccc } catch (Throwable throwable) { CrashReport crashreport = CrashReport.forThrowable(throwable, "Getting fluid state"); CrashReportCategory crashreportsystemdetails = crashreport.addCategory("Block being got"); -@@ -390,6 +392,7 @@ public class LevelChunk extends ChunkAccess { +@@ -291,6 +293,7 @@ public class LevelChunk extends ChunkAccess { }); throw new ReportedException(crashreport); } |