aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Lee <[email protected]>2020-07-25 22:22:53 +0100
committerGitHub <[email protected]>2020-07-25 22:22:53 +0100
commiteb510c404d54a954d8685bc79021a5784a2e6f8b (patch)
tree149bfbb19615184f7151bddf3349d836c8108cdc
parent0cf106087d4f210751df09e8d31a666444c02878 (diff)
downloadPaper-eb510c404d54a954d8685bc79021a5784a2e6f8b.tar.gz
Paper-eb510c404d54a954d8685bc79021a5784a2e6f8b.zip
Fix sound/particles not showing when listening on BlockDestroyEvent (#3998)
-rw-r--r--Spigot-API-Patches/0169-BlockDestroyEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-API-Patches/0169-BlockDestroyEvent.patch b/Spigot-API-Patches/0169-BlockDestroyEvent.patch
index 026a69cc91..4ad73d8ef1 100644
--- a/Spigot-API-Patches/0169-BlockDestroyEvent.patch
+++ b/Spigot-API-Patches/0169-BlockDestroyEvent.patch
@@ -12,7 +12,7 @@ This can replace many uses of BlockPhysicsEvent
diff --git a/src/main/java/com/destroystokyo/paper/event/block/BlockDestroyEvent.java b/src/main/java/com/destroystokyo/paper/event/block/BlockDestroyEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..3aee12f1cb37b0672bdcdfac1e932bd4e3a184b0
+index 0000000000000000000000000000000000000000..28255dc39eab5faf324d1fe556ab12daed527ff6
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/block/BlockDestroyEvent.java
@@ -0,0 +1,92 @@
@@ -42,7 +42,7 @@ index 0000000000000000000000000000000000000000..3aee12f1cb37b0672bdcdfac1e932bd4
+
+ @NotNull private final BlockData newState;
+ private final boolean willDrop;
-+ private boolean playEffect;
++ private boolean playEffect = true;
+
+ private boolean cancelled = false;
+