diff options
author | Riley Park <[email protected]> | 2024-07-21 03:42:04 -0700 |
---|---|---|
committer | Riley Park <[email protected]> | 2024-07-21 03:42:04 -0700 |
commit | 2a810b77f0ce62cd3be25b8850f61b448755ef6d (patch) | |
tree | 6b3c82b1909c678a3b1ce70ecf3e804ee63a989a /patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch | |
parent | c250671fda4de965baec473519f38879a93b4524 (diff) | |
download | Paper-feat/timings-removal.tar.gz Paper-feat/timings-removal.zip |
yeet, part 02feat/timings-removal
Diffstat (limited to 'patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch')
-rw-r--r-- | patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch b/patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch index ed44e0fd8c..9a53698b1f 100644 --- a/patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch +++ b/patches/server/0077-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch @@ -18,10 +18,10 @@ index 4f1204661e345462c08cc66e3a8851033f186268..a37f11633663e07652274707b29a849e this.profiler.push(() -> { String s = String.valueOf(worldserver); diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index de1708e5d39561115d2825eea4a5f6e1f1f4e5b8..1e5b42fc3903b14537d232c8adbbaf79078d8d8e 100644 +index 2e53c7466215564634294c72334d556506858e7f..a2528b9b4ebcfc39c3127581bafb01e0dd2eca4e 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java -@@ -227,6 +227,7 @@ public class ServerLevel extends Level implements WorldGenLevel { +@@ -225,6 +225,7 @@ public class ServerLevel extends Level implements WorldGenLevel { // CraftBukkit start public final LevelStorageSource.LevelStorageAccess convertable; public final UUID uuid; @@ -30,7 +30,7 @@ index de1708e5d39561115d2825eea4a5f6e1f1f4e5b8..1e5b42fc3903b14537d232c8adbbaf79 public LevelChunk getChunkIfLoaded(int x, int z) { return this.chunkSource.getChunk(x, z, false); diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java -index eae1d6eedeed09b3f49913c2bb205b80442bbfe3..622ecc1aeb9140d5c0d181fa472d123c42e5c5f4 100644 +index dfb349ed8a0fb981b3234baf040bd3297a555ebf..024da1029baecae639d7c05b5f7c30dbaa67b006 100644 --- a/src/main/java/net/minecraft/world/level/Level.java +++ b/src/main/java/net/minecraft/world/level/Level.java @@ -491,7 +491,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable { |