2016-12-16 16:03:56 -06:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
|
|
|
Date: Fri, 16 Dec 2016 16:03:19 -0600
|
|
|
|
Subject: [PATCH] Don't let fishinghooks use portals
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityFishingHook.java b/src/main/java/net/minecraft/server/EntityFishingHook.java
|
2020-05-06 05:48:49 -04:00
|
|
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
2016-12-16 16:03:56 -06:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityFishingHook.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityFishingHook.java
|
2020-06-25 05:04:34 -07:00
|
|
|
@@ -0,0 +0,0 @@ public class EntityFishingHook extends IProjectile {
|
2019-04-26 23:26:04 -07:00
|
|
|
|
|
|
|
this.setMot(this.getMot().a(0.92D));
|
2020-11-02 21:22:15 -05:00
|
|
|
this.af();
|
2016-12-16 16:03:56 -06:00
|
|
|
+ // Paper start - These shouldn't be going through portals
|
2020-08-02 01:39:36 -04:00
|
|
|
+ if (this.inPortal) {
|
2016-12-16 16:03:56 -06:00
|
|
|
+ this.die();
|
|
|
|
+ }
|
|
|
|
+ // Paper end
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|