aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-04-16 10:56:25 -0700
committerJason Penilla <[email protected]>2024-04-16 10:56:25 -0700
commit0a3b3041557f68319f423c0896d772b114eba404 (patch)
treeed5561382d2fafda7fb5d1327afc40d1ee4f6ab6
parent4a8926c58437c429852db74a48222dda55e9487b (diff)
downloadPaper-vineflower-1_10_1.tar.gz
Paper-vineflower-1_10_1.zip
Thanks intellijvineflower-1_10_1
-rw-r--r--patches/server/0462-Add-PlayerShearBlockEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0462-Add-PlayerShearBlockEvent.patch b/patches/server/0462-Add-PlayerShearBlockEvent.patch
index 1a5c5d2b37..a38cf5e637 100644
--- a/patches/server/0462-Add-PlayerShearBlockEvent.patch
+++ b/patches/server/0462-Add-PlayerShearBlockEvent.patch
@@ -39,7 +39,7 @@ index 44e72176a0da08a77fa192ee31c0fcd53f0dc22d..27f1c1ac12251f1438ee8bf14f4afb5f
entityhuman1.broadcastBreakEvent(hand);
});
diff --git a/src/main/java/net/minecraft/world/level/block/PumpkinBlock.java b/src/main/java/net/minecraft/world/level/block/PumpkinBlock.java
-index c0098fe96201bfc448e7d2e3d672c310c9c9e75a..a68c6bfab4693a1ae9bd0ee2a0dffef4f939829e 100644
+index c0098fe96201bfc448e7d2e3d672c310c9c9e75a..966783c646dae5a79259c1a322a9cfc8dd83d997 100644
--- a/src/main/java/net/minecraft/world/level/block/PumpkinBlock.java
+++ b/src/main/java/net/minecraft/world/level/block/PumpkinBlock.java
@@ -35,16 +35,24 @@ public class PumpkinBlock extends Block {
@@ -64,7 +64,7 @@ index c0098fe96201bfc448e7d2e3d672c310c9c9e75a..a68c6bfab4693a1ae9bd0ee2a0dffef4
(double)pos.getY() + 0.1,
(double)pos.getZ() + 0.5 + (double)direction2.getStepZ() * 0.65,
- new ItemStack(Items.PUMPKIN_SEEDS, 4)
-+ org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(item) // Paper - Add PlayerShearBlockEvent
++ org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(item) // Paper - Add PlayerShearBlockEvent
);
itemEntity.setDeltaMovement(
0.05 * (double)direction2.getStepX() + world.random.nextDouble() * 0.02,