SPIGOT-1764: Perform drops regardless of loot table

This commit is contained in:
md_5 2016-03-06 11:30:03 +11:00
parent 9e8c377287
commit 97f0011855

View File

@ -108,6 +108,15 @@
NBTTagList nbttaglist; NBTTagList nbttaglist;
int i; int i;
@@ -406,7 +464,7 @@
}
this.dropEquipment(flag, i);
- } else {
+ } { // CraftBukkit - remove else
super.a(flag, i, damagesource);
}
@@ -549,11 +607,11 @@ @@ -549,11 +607,11 @@
double d2 = entityhuman.locZ - this.locZ; double d2 = entityhuman.locZ - this.locZ;
double d3 = d0 * d0 + d1 * d1 + d2 * d2; double d3 = d0 * d0 + d1 * d1 + d2 * d2;