aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-04-19 13:03:32 -0700
committerGitHub <[email protected]>2024-04-19 13:03:32 -0700
commit3b078f822a46039edbf8f9bdf078b28e35b57ca2 (patch)
treea34a40186be4131afbb9df64d7e6dd3353be43f8 /patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch
parent9e886c431029a71a97e850bec8c63b0699fd09f2 (diff)
downloadPaper-3b078f822a46039edbf8f9bdf078b28e35b57ca2.tar.gz
Paper-3b078f822a46039edbf8f9bdf078b28e35b57ca2.zip
Add API for ticking fluids (#10435)
* Add API for ticking fluids * update javadocs
Diffstat (limited to 'patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch')
-rw-r--r--patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch b/patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch
index 3cc682a856..57e56e24ab 100644
--- a/patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch
+++ b/patches/server/0974-Properly-handle-experience-dropping-on-block-break.patch
@@ -80,10 +80,10 @@ index e57e3a26b0fb856e1ab693df5783fe8b9bee9719..64300077fce6eb28b6bddd42b3467eaa
public List<ItemStack> getDrops(LootParams.Builder builder) {
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
-index e5506a7d074a9f89d41f4d5d7549a458779bef20..4b42ef2a876ea210d948238e63fd7a2b7035bb5b 100644
+index 461a66c323a74db5a70981fafc5fa20f54f0f40d..ac11f18690434922179b61ffcc3036dea025b0cb 100644
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
+++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
-@@ -503,7 +503,7 @@ public class CraftBlock implements Block {
+@@ -509,7 +509,7 @@ public class CraftBlock implements Block {
// Modelled off EntityHuman#hasBlock
if (block != Blocks.AIR && (item == null || !iblockdata.requiresCorrectToolForDrops() || nmsItem.isCorrectToolForDrops(iblockdata))) {