mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
What is dead may never die.
This commit is contained in:
parent
412b4624c3
commit
349cb0bba6
@ -290,6 +290,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
|
||||
public void die(DamageSource damagesource) {
|
||||
// CraftBukkit start
|
||||
if (this.dead) {
|
||||
return;
|
||||
}
|
||||
|
||||
java.util.List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>();
|
||||
|
||||
for (int i = 0; i < this.inventory.items.length; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user