Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
What is dead may never die.
Dieser Commit ist enthalten in:
Ursprung
412b4624c3
Commit
349cb0bba6
@ -290,6 +290,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
|
|
||||||
public void die(DamageSource damagesource) {
|
public void die(DamageSource damagesource) {
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
|
if (this.dead) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
java.util.List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>();
|
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) {
|
for (int i = 0; i < this.inventory.items.length; ++i) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren