diff options
author | Nassim Jahnke <[email protected]> | 2024-01-24 15:57:53 +0100 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-01-24 17:14:57 +0100 |
commit | a4a08b73423459a58a055d442c07668e7d327b5b (patch) | |
tree | bac1321f819dcf378dc58a41349aefca387eb98f /patches/server/0511-Add-EntityMoveEvent.patch | |
parent | d405ff12559716a1a838ec1252b949b2bdc50383 (diff) | |
download | Paper-a4a08b73423459a58a055d442c07668e7d327b5b.tar.gz Paper-a4a08b73423459a58a055d442c07668e7d327b5b.zip |
[ci skip] Move chunk system patch a bit back
Diffstat (limited to 'patches/server/0511-Add-EntityMoveEvent.patch')
-rw-r--r-- | patches/server/0511-Add-EntityMoveEvent.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0511-Add-EntityMoveEvent.patch b/patches/server/0511-Add-EntityMoveEvent.patch index 48917244b3..fbeda05f6f 100644 --- a/patches/server/0511-Add-EntityMoveEvent.patch +++ b/patches/server/0511-Add-EntityMoveEvent.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add EntityMoveEvent diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 5429906d0d793a45d7cedc2c14cae9d3e0ebb5e2..7857a385aef33fa3bc9bfe01223016c0eb879112 100644 +index e679ee1cfae0787775c655690094d72732e1bbb4..f8e74f8818002f7cc1be0bdb2317439b29a05ad5 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -1469,6 +1469,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa +@@ -1475,6 +1475,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa while (iterator.hasNext()) { ServerLevel worldserver = (ServerLevel) iterator.next(); worldserver.hasPhysicsEvent = org.bukkit.event.block.BlockPhysicsEvent.getHandlerList().getRegisteredListeners().length > 0; // Paper - BlockPhysicsEvent @@ -17,7 +17,7 @@ index 5429906d0d793a45d7cedc2c14cae9d3e0ebb5e2..7857a385aef33fa3bc9bfe01223016c0 this.profiler.push(() -> { return worldserver + " " + worldserver.dimension().location(); diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index e6216892f5bbc22dfde1eebfea33709e2eea841c..a24c782dfdf47868fdd8d494f0af1024fdc6ebe5 100644 +index 2f1d8a02f9fd85b4d577b67237de8400917c151f..909f9c0a53971a28844a59b1cb4b996afb902d80 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java @@ -222,6 +222,7 @@ public class ServerLevel extends Level implements WorldGenLevel { |