PaperMC/patches/api/0377-Fix-shouldConsumeItem-for-crossbows.patch
2022-03-22 01:22:32 -07:00

20 lines
1 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jake Potrebic <jake.m.potrebic@gmail.com>
Date: Tue, 22 Mar 2022 01:05:38 -0700
Subject: [PATCH] Fix shouldConsumeItem for crossbows
diff --git a/src/main/java/org/bukkit/event/entity/EntityShootBowEvent.java b/src/main/java/org/bukkit/event/entity/EntityShootBowEvent.java
index 719d0d878320c1903b44076053989ba99fa0e92a..1f131a14e2d3f16c1ef11b9849dc1b6746947fa0 100644
--- a/src/main/java/org/bukkit/event/entity/EntityShootBowEvent.java
+++ b/src/main/java/org/bukkit/event/entity/EntityShootBowEvent.java
@@ -133,8 +133,7 @@ public class EntityShootBowEvent extends EntityEvent implements Cancellable {
* the server's decision to not consume a consumable item.
* <p>
* This value is ignored for entities where items are not required
- * (skeletons, pillagers, etc.) or with crossbows (as no item is being
- * consumed).
+ * (skeletons, pillagers, etc.).
*
* @param consumeItem whether or not to consume the item
*/