Update patches that slipped through last

This commit is contained in:
Zach Brown
2018-01-05 01:30:03 -06:00
parent 03ce426ddf
commit a088a9fa51
2 changed files with 6 additions and 8 deletions

View File

@@ -5,13 +5,14 @@ Subject: [PATCH] Remove FishingHook reference on Craft Entity removal
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java
index ecfc316b..3f909c17 100644
index d555597dc..f5419dea4 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java
@@ -0,0 +0,0 @@ public class CraftFish extends AbstractProjectile implements Fish {
Validate.isTrue(chance >= 0 && chance <= 1, "The bite chance must be between 0 and 1.");
this.biteChance = chance;
}
+
+ // Paper start
+ @Override
+ public void remove() {
@@ -21,8 +22,5 @@ index ecfc316b..3f909c17 100644
+ }
+ }
+ // Paper end
+
@Deprecated
public LivingEntity _INVALID_getShooter() {
return (LivingEntity) getShooter();
}
--