Mineplex2018-withcommit/Plugins/Mineplex.Hub/src/mineplex/hub/commands/GadgetToggle.java

22 lines
464 B
Java
Raw Normal View History

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)
{
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);
}
}