Properly clear attributes on remove and death. Fixes BUKKIT-4416
This commit is contained in:
@@ -914,7 +914,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
this.expTotal = this.newTotalExp;
|
||||
this.exp = 0;
|
||||
this.deathTicks = 0;
|
||||
this.effects.clear();
|
||||
this.aG(); // Should be removeAllEffects.
|
||||
this.updateEffects = true;
|
||||
this.activeContainer = this.defaultContainer;
|
||||
this.killer = null;
|
||||
|
||||
Reference in New Issue
Block a user