From 6a398ac443ac411c2e1723eb9aaa1a38792c7645 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 1 Dec 2018 08:18:09 +1100 Subject: SPIGOT-4511: Trident doesn't lose durability --- nms-patches/EntityThrownTrident.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nms-patches/EntityThrownTrident.patch') diff --git a/nms-patches/EntityThrownTrident.patch b/nms-patches/EntityThrownTrident.patch index 8e2d4415..c96db447 100644 --- a/nms-patches/EntityThrownTrident.patch +++ b/nms-patches/EntityThrownTrident.patch @@ -1,5 +1,14 @@ --- a/net/minecraft/server/EntityThrownTrident.java +++ b/net/minecraft/server/EntityThrownTrident.java +@@ -5,7 +5,7 @@ + public class EntityThrownTrident extends EntityArrow { + + private static final DataWatcherObject h = DataWatcher.a(EntityThrownTrident.class, DataWatcherRegistry.a); +- private ItemStack aw; ++ public ItemStack aw; // PAIL + private boolean ax; + public int g; + @@ -122,7 +122,7 @@ EntityLightning entitylightning = new EntityLightning(this.world, (double) blockposition.getX() + 0.5D, (double) blockposition.getY(), (double) blockposition.getZ() + 0.5D, false); -- cgit v1.2.3