Disable other gadgets before enabling
This commit is contained in:
parent
c1f06595bb
commit
adef8945a4
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user