2014-10-17 09:34:23 +02:00
|
|
|
package mineplex.hub.commands;
|
|
|
|
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
|
|
|
import mineplex.core.command.CommandBase;
|
|
|
|
import mineplex.core.common.Rank;
|
|
|
|
import mineplex.hub.HubManager;
|
|
|
|
|
|
|
|
public class GadgetToggle extends CommandBase<HubManager>
|
|
|
|
{
|
|
|
|
public GadgetToggle(HubManager plugin)
|
|
|
|
{
|
2015-07-27 03:58:35 +02:00
|
|
|
super(plugin, Rank.ADMIN, new Rank[] {Rank.JNR_DEV}, new String[] {"gadget"});
|
2014-10-17 09:34:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void Execute(Player caller, String[] args)
|
|
|
|
{
|
|
|
|
Plugin.ToggleGadget(caller);
|
|
|
|
}
|
|
|
|
}
|