summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemBow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ItemBow.patch')
-rw-r--r--nms-patches/ItemBow.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/ItemBow.patch b/nms-patches/ItemBow.patch
index e54d003c..b168fc48 100644
--- a/nms-patches/ItemBow.patch
+++ b/nms-patches/ItemBow.patch
@@ -1,14 +1,14 @@
--- a/net/minecraft/server/ItemBow.java
+++ b/net/minecraft/server/ItemBow.java
-@@ -1,5 +1,7 @@
+@@ -1,6 +1,7 @@
package net.minecraft.server;
+ import javax.annotation.Nullable;
+import org.bukkit.event.entity.EntityCombustEvent; // CraftBukkit
-+
+
public class ItemBow extends Item {
- public ItemBow() {
-@@ -73,7 +75,20 @@
+@@ -75,7 +76,20 @@
}
if (EnchantmentManager.getEnchantmentLevel(Enchantments.ARROW_FIRE, itemstack) > 0) {
@@ -30,7 +30,7 @@
}
itemstack.damage(1, entityhuman);
-@@ -81,7 +96,15 @@
+@@ -83,7 +97,15 @@
entityarrow.fromPlayer = EntityArrow.PickupStatus.CREATIVE_ONLY;
}