@@ -1,14 +1,14 @@
|
||||
--- a/net/minecraft/server/ItemBow.java
|
||||
+++ b/net/minecraft/server/ItemBow.java
|
||||
@@ -1,6 +1,7 @@
|
||||
@@ -1,5 +1,7 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
+import org.bukkit.event.entity.EntityCombustEvent; // CraftBukkit
|
||||
|
||||
+
|
||||
public class ItemBow extends Item {
|
||||
|
||||
@@ -75,7 +76,20 @@
|
||||
public ItemBow() {
|
||||
@@ -73,7 +75,20 @@
|
||||
}
|
||||
|
||||
if (EnchantmentManager.getEnchantmentLevel(Enchantments.ARROW_FIRE, itemstack) > 0) {
|
||||
@@ -30,7 +30,7 @@
|
||||
}
|
||||
|
||||
itemstack.damage(1, entityhuman);
|
||||
@@ -83,7 +97,15 @@
|
||||
@@ -81,7 +96,15 @@
|
||||
entityarrow.fromPlayer = EntityArrow.PickupStatus.CREATIVE_ONLY;
|
||||
}
|
||||
|
||||
@@ -46,4 +46,4 @@
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
world.a((EntityHuman) null, entityhuman.locX, entityhuman.locY, entityhuman.locZ, SoundEffects.v, SoundCategory.NEUTRAL, 1.0F, 1.0F / (ItemBow.j.nextFloat() * 0.4F + 1.2F) + f * 0.5F);
|
||||
world.a((EntityHuman) null, entityhuman.locX, entityhuman.locY, entityhuman.locZ, SoundEffects.w, SoundCategory.PLAYERS, 1.0F, 1.0F / (ItemBow.j.nextFloat() * 0.4F + 1.2F) + f * 0.5F);
|
||||
|
||||
Reference in New Issue
Block a user