aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-07-18 16:50:16 +0200
committerNassim Jahnke <[email protected]>2024-07-18 18:15:13 +0200
commita8db5274493f3bf6c91c8bc9d4a3618a02ba5500 (patch)
tree117f005d0e84f51bcdaeedf55bf7fd6cb3766932 /patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch
parent3c8a7fe1a4a7e348106795ca44529ff6d2005234 (diff)
downloadPaper-a8db5274493f3bf6c91c8bc9d4a3618a02ba5500.tar.gz
Paper-a8db5274493f3bf6c91c8bc9d4a3618a02ba5500.zip
Even more cleanup of mcutil patch
Diffstat (limited to 'patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch')
-rw-r--r--patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch b/patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch
index 63f20a9c63..21b63430dd 100644
--- a/patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch
+++ b/patches/server/0925-Properly-handle-experience-dropping-on-block-break.patch
@@ -7,7 +7,7 @@ This causes spawnAfterBreak to spawn xp by default, removing the need to manuall
For classes that use custom xp amounts, they can drop the resources with disabling
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
-index 8337f2f1d650fc7efb830a7034e3676dc0695ee4..2f1acea765d1b6726863cdc89707ca6148548493 100644
+index 3f87e60c0d43703a8450b5920dac59a970809397..471fd54edf6aa962d997878ee638974f7f594fa8 100644
--- a/src/main/java/net/minecraft/world/level/Level.java
+++ b/src/main/java/net/minecraft/world/level/Level.java
@@ -617,7 +617,8 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
@@ -68,10 +68,10 @@ index c083dc8b2a69c3747b250d13f1a28ad22b5e6119..bf52c36f31992a01a7403d8c85151327
}
diff --git a/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java b/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java
-index d261649aa1b7b351f325f9b752bb792f952f7b25..936b56c116de63b38a416d5bab4223a88d0469d0 100644
+index 9d6cc0b8dbc451dfff1ddd8e7be32d11434cdb69..87289d8ab94705999c67457a28538e7a5576acc3 100644
--- a/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java
+++ b/src/main/java/net/minecraft/world/level/block/state/BlockBehaviour.java
-@@ -1124,6 +1124,7 @@ public abstract class BlockBehaviour implements FeatureElement {
+@@ -1118,6 +1118,7 @@ public abstract class BlockBehaviour implements FeatureElement {
public void spawnAfterBreak(ServerLevel world, BlockPos pos, ItemStack tool, boolean dropExperience) {
this.getBlock().spawnAfterBreak(this.asState(), world, pos, tool, dropExperience);