Fix memory leak in ParticleFreedom
This commit is contained in:
parent
6719f11358
commit
dbd5203e9d
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user