Fix an NPE caused by WinEffects in some cases
This commit is contained in:
parent
615aae8977
commit
0c8cbd7b89
@ -131,13 +131,9 @@ public abstract class WinEffectGadget extends Gadget
|
||||
});
|
||||
_player = null;
|
||||
_baseLocation = null;
|
||||
_team.clear();
|
||||
_team = null;
|
||||
_nonTeam.clear();
|
||||
_nonTeam = null;
|
||||
_other.clear();
|
||||
_other = null;
|
||||
_allPlayers.clear();
|
||||
_allPlayers = null;
|
||||
// Loads gadgets back when players are teleported to the arcade hub, after the win effect
|
||||
Manager.getUserGadgetPersistence().setEnabled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user