From d7cd7275f28ce2ace4dc2051e77a9c5ec80743f1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 26 Jun 2017 08:34:52 +1000 Subject: SPIGOT-3379: Generalise canPickupItems to other entities. --- nms-patches/EntityInsentient.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nms-patches/EntityInsentient.patch') diff --git a/nms-patches/EntityInsentient.patch b/nms-patches/EntityInsentient.patch index f29afe3e..8098e9a7 100644 --- a/nms-patches/EntityInsentient.patch +++ b/nms-patches/EntityInsentient.patch @@ -16,6 +16,15 @@ public abstract class EntityInsentient extends EntityLiving { private static final DataWatcherObject a = DataWatcher.a(EntityInsentient.class, DataWatcherRegistry.a); +@@ -27,7 +36,7 @@ + public float[] dropChanceHand; + private final NonNullList by; + public float[] dropChanceArmor; +- public boolean canPickUpLoot; ++ // public boolean canPickUpLoot; // CraftBukkit - moved up to EntityLiving + public boolean persistent; + private final Map bB; + private MinecraftKey bC; @@ -57,6 +66,9 @@ this.r(); } -- cgit v1.2.3