Allow preventing BlockDestroyEvent from dropping items (#8349)

This commit is contained in:
okx-code
2022-09-08 16:13:50 +01:00
parent a2df674cc0
commit 2cb0061b0a
2 changed files with 9 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ return false;
+ }
+ playEffect = event.playEffect();
+ drop = event.willDrop();
+ }
+ // Paper end