Skip disabling kit selectors between game restarts

This commit is contained in:
LCastr0 2017-04-27 23:53:37 -03:00
parent e45e3be4e8
commit 494fd4787c

View File

@ -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);