Skip disabling kit selectors between game restarts
This commit is contained in:
parent
e45e3be4e8
commit
494fd4787c
@ -231,6 +231,7 @@ import mineplex.core.gadget.types.GadgetType;
|
||||
import mineplex.core.gadget.types.GameModifierGadget;
|
||||
import mineplex.core.gadget.types.HatGadget;
|
||||
import mineplex.core.gadget.types.ItemGadget;
|
||||
import mineplex.core.gadget.types.KitSelectorGadget;
|
||||
import mineplex.core.gadget.types.MusicGadget;
|
||||
import mineplex.core.gadget.types.OutfitGadget;
|
||||
import mineplex.core.gadget.types.OutfitGadget.ArmorSlot;
|
||||
@ -868,6 +869,9 @@ public class GadgetManager extends MiniPlugin
|
||||
|
||||
if (gadget instanceof TauntGadget)
|
||||
continue;
|
||||
|
||||
if (gadget instanceof KitSelectorGadget)
|
||||
continue;
|
||||
|
||||
for (Player player : UtilServer.getPlayers())
|
||||
gadget.disable(player);
|
||||
|
Loading…
Reference in New Issue
Block a user