diff options
Diffstat (limited to 'patches/server/0462-Add-PlayerShearBlockEvent.patch')
-rw-r--r-- | patches/server/0462-Add-PlayerShearBlockEvent.patch | 4 |
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, |