aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch')
-rw-r--r--patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch b/patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch
index f1cbb0fcf3..72ff32a552 100644
--- a/patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch
+++ b/patches/server/1048-Prevent-NPE-if-hooked-entity-was-cleared.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Prevent NPE if hooked entity was cleared
diff --git a/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java b/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java
-index 35299affb699d745804a3b60cb78b9323f3e068e..882de08963c72614a3d26cd917916e42b7136042 100644
+index 9962d50ea342cd47428a814519b2d54f547753a4..6ea34a76707d9f60076b7423ac0bb1de200308ae 100644
--- a/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java
+++ b/src/main/java/net/minecraft/world/entity/projectile/FishingHook.java
-@@ -498,11 +498,13 @@ public class FishingHook extends Projectile {
+@@ -503,11 +503,13 @@ public class FishingHook extends Projectile {
if (playerFishEvent.isCancelled()) {
return 0;
}