Fix memory leak in ParticleFreedom

This commit is contained in:
samczsun 2016-09-30 19:25:53 -04:00 committed by Shaun Bennett
parent 6719f11358
commit dbd5203e9d

View File

@ -43,7 +43,7 @@ public class ParticleFreedom extends ParticleGadget
public void stopEffect(Player player)
{
if (_effects.containsKey(player.getUniqueId()))
_effects.get(player.getUniqueId()).stop();
_effects.remove(player.getUniqueId()).stop();
}
}