aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2023-06-07 22:25:38 -0700
committerSpottedleaf <[email protected]>2023-06-07 22:26:06 -0700
commit74ad522fc5818b84772c7808a27227f4ac84df38 (patch)
treee2b6cea9756d5b59a821b76f56777e35e7ea9844 /patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
parent819facd7c4343f6783d1a4ee84345d5b99ef47ce (diff)
downloadPaper-74ad522fc5818b84772c7808a27227f4ac84df38.tar.gz
Paper-74ad522fc5818b84772c7808a27227f4ac84df38.zip
Rebase chunk patches
Diffstat (limited to 'patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch')
-rw-r--r--patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch b/patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
deleted file mode 100644
index 953b68fa47..0000000000
--- a/patches/server/0090-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Aikar <[email protected]>
-Date: Sun, 3 Apr 2016 17:48:50 -0400
-Subject: [PATCH] Fix Cancelling BlockPlaceEvent triggering physics
-
-
-diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
-index 507cab9d689b774b320fac00f7760c4143957b67..508c1f2874db3add98aad29bd4eee6c9f5d58006 100644
---- a/src/main/java/net/minecraft/server/level/ServerLevel.java
-+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
-@@ -1517,6 +1517,7 @@ public class ServerLevel extends Level implements WorldGenLevel {
-
- @Override
- public void updateNeighborsAt(BlockPos pos, Block sourceBlock) {
-+ if (captureBlockStates) { return; } // Paper - Cancel all physics during placement
- this.neighborUpdater.updateNeighborsAtExceptFromFacing(pos, sourceBlock, (Direction) null);
- }
-