mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Properly clear attributes on remove and death. Fixes BUKKIT-4416
This commit is contained in:
1 parent
adcb293a03
commit
c00db5f751
2 files changed
+2
-7
No files matched your search
@@ -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