mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 02:35:49 +01:00
SPIGOT-6207: forcibly drop the items of a converted zombie villager
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
This commit is contained in:
parent
103e1bf3b5
commit
304aa91bb1
1 changed files with 11 additions and 1 deletions
|
@ -76,7 +76,17 @@
|
|||
EnumItemSlot[] aenumitemslot = EnumItemSlot.values();
|
||||
int i = aenumitemslot.length;
|
||||
|
||||
@@ -226,7 +248,7 @@
|
||||
@@ -200,7 +222,9 @@
|
||||
double d0 = (double) this.e(enumitemslot);
|
||||
|
||||
if (d0 > 1.0D) {
|
||||
+ this.forceDrops = true; // CraftBukkit
|
||||
this.a(itemstack);
|
||||
+ this.forceDrops = false; // CraftBukkit
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -226,7 +250,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue