summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityInsentient.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-06-26 08:34:52 +1000
committermd_5 <git@md-5.net>2017-06-26 08:34:52 +1000
commitd7cd7275f28ce2ace4dc2051e77a9c5ec80743f1 (patch)
tree4333dd2e3c0493680e10f6f64545b658566b683d /nms-patches/EntityInsentient.patch
parentde7608559660c92d43e52099325155fa2758561b (diff)
downloadcraftbukkit-d7cd7275f28ce2ace4dc2051e77a9c5ec80743f1.tar
craftbukkit-d7cd7275f28ce2ace4dc2051e77a9c5ec80743f1.tar.gz
craftbukkit-d7cd7275f28ce2ace4dc2051e77a9c5ec80743f1.tar.lz
craftbukkit-d7cd7275f28ce2ace4dc2051e77a9c5ec80743f1.tar.xz
craftbukkit-d7cd7275f28ce2ace4dc2051e77a9c5ec80743f1.zip
SPIGOT-3379: Generalise canPickupItems to other entities.
Diffstat (limited to 'nms-patches/EntityInsentient.patch')
-rw-r--r--nms-patches/EntityInsentient.patch9
1 files changed, 9 insertions, 0 deletions
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<Byte> a = DataWatcher.a(EntityInsentient.class, DataWatcherRegistry.a);
+@@ -27,7 +36,7 @@
+ public float[] dropChanceHand;
+ private final NonNullList<ItemStack> by;
+ public float[] dropChanceArmor;
+- public boolean canPickUpLoot;
++ // public boolean canPickUpLoot; // CraftBukkit - moved up to EntityLiving
+ public boolean persistent;
+ private final Map<PathType, Float> bB;
+ private MinecraftKey bC;
@@ -57,6 +66,9 @@
this.r();
}