Archiviert
13
0

Update PotionEffects on player death. Fixes BUKKIT-2673

On player death player PotionEffects need to be updated so that a player's
invisibility and other effects are removed, otherwise they will persist
after a respawn. This is a carry-over from our use of persistent player
entities.
Dieser Commit ist enthalten in:
h31ix 2012-10-28 23:20:06 -04:00 committet von EvilSeph
Ursprung 0fb806c566
Commit db49a57694

Datei anzeigen

@ -261,6 +261,9 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
}
this.closeInventory();
// Update effects on player death
this.updateEffects = true;
// CraftBukkit end
}