aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0302-BlockDestroyEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0302-BlockDestroyEvent.patch')
-rw-r--r--patches/server/0302-BlockDestroyEvent.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/server/0302-BlockDestroyEvent.patch b/patches/server/0302-BlockDestroyEvent.patch
index 38b61505fb..8034bc1082 100644
--- a/patches/server/0302-BlockDestroyEvent.patch
+++ b/patches/server/0302-BlockDestroyEvent.patch
@@ -11,7 +11,7 @@ floating in the air.
This can replace many uses of BlockPhysicsEvent
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
-index 2225921e988cdcaa4fb906b281c237972c6e7c1b..bb274ffc0f7bfd09bfcdc9bec43122cecab052e6 100644
+index 2225921e988cdcaa4fb906b281c237972c6e7c1b..d72804cd4491c60043e428c0d06e02f9ca7f9303 100644
--- a/src/main/java/net/minecraft/world/level/Level.java
+++ b/src/main/java/net/minecraft/world/level/Level.java
@@ -28,6 +28,7 @@ import net.minecraft.nbt.CompoundTag;
@@ -22,7 +22,7 @@ index 2225921e988cdcaa4fb906b281c237972c6e7c1b..bb274ffc0f7bfd09bfcdc9bec43122ce
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.level.ChunkHolder;
import net.minecraft.server.level.ServerLevel;
-@@ -578,8 +579,20 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
+@@ -578,8 +579,21 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
return false;
} else {
FluidState fluid = this.getFluidState(pos);
@@ -36,6 +36,7 @@ index 2225921e988cdcaa4fb906b281c237972c6e7c1b..bb274ffc0f7bfd09bfcdc9bec43122ce
+ return false;
+ }
+ playEffect = event.playEffect();
++ drop = event.willDrop();
+ }
+ // Paper end