Fixed memory leak on ArrowTrailHalloween, thanks to Sam, again
This commit is contained in:
parent
314c88333a
commit
49510e6f9f
@ -50,7 +50,10 @@ public class ArrowTrailHalloween extends ArrowEffectGadget
|
|||||||
@Override
|
@Override
|
||||||
public void doHitEffect(Arrow arrow)
|
public void doHitEffect(Arrow arrow)
|
||||||
{
|
{
|
||||||
|
if (_arrowColors.containsKey(arrow))
|
||||||
|
{
|
||||||
|
_arrowColors.remove(arrow);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user