Disable other gadgets before enabling

This commit is contained in:
LCastr0 2017-04-28 13:20:25 -03:00
parent c1f06595bb
commit adef8945a4

View File

@ -141,8 +141,8 @@ public abstract class Gadget extends SalesPackageBase implements Listener
return;
}
Manager.setActive(player, this);
enableCustom(player, message);
Manager.setActive(player, this);
Bukkit.getServer().getPluginManager().callEvent(new GadgetAppliedEvent(player, this));
}