#1233: Remove some old MC bug fixes now fixed in vanilla
By: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
--- a/net/minecraft/world/item/ItemCrossbow.java
|
||||
+++ b/net/minecraft/world/item/ItemCrossbow.java
|
||||
@@ -113,6 +113,10 @@
|
||||
if (itemstack1.isEmpty() && flag) {
|
||||
itemstack1 = new ItemStack(Items.ARROW);
|
||||
itemstack2 = itemstack1.copy();
|
||||
+ // CraftBukkit start - SPIGOT-4870, MC-150847
|
||||
+ } else if (itemstack1.isEmpty()) {
|
||||
+ return false;
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
if (!loadProjectile(entityliving, itemstack, itemstack1, k > 0, flag)) {
|
||||
@@ -236,11 +240,27 @@
|
||||
@@ -236,11 +236,27 @@
|
||||
|
||||
((IProjectile) object).shoot((double) vector3f.x(), (double) vector3f.y(), (double) vector3f.z(), f1, f2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user