Fix possible leak in SSM PerkBlockToss
This commit is contained in:
parent
16a461db76
commit
e79ca4e4db
@ -67,6 +67,13 @@ public class PerkBlockToss extends SmashPerk implements IThrown
|
||||
_knockbackMagnitude = getPerkFloat("Knockback Magnitude");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unregisteredEvents()
|
||||
{
|
||||
_falling.clear();
|
||||
_hold.clear();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void Grab(PlayerInteractEvent event)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user