Package com.sucy.skill.cmd
Class CmdForceCast
java.lang.Object
com.sucy.skill.cmd.CmdForceCast
- All Implemented Interfaces:
mc.promcteam.engine.mccore.commands.IFunction
A command that makes a player cast a skill regardless
of them owning it or not and also ignores cooldown/mana costs.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CmdForceCast
public CmdForceCast()
-
-
Method Details
-
execute
public void execute(mc.promcteam.engine.mccore.commands.ConfigurableCommand cmd, org.bukkit.plugin.Plugin plugin, org.bukkit.command.CommandSender sender, String[] args) Runs the command- Specified by:
executein interfacemc.promcteam.engine.mccore.commands.IFunction- Parameters:
cmd- command that was executedplugin- plugin referencesender- sender of the commandargs- argument list
-