Mineplex2018-withcommit/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/command/ParseCommand.java

25 lines
572 B
Java
Raw Normal View History

2013-08-27 17:14:08 +02:00
package nautilus.game.arcade.command;
import org.bukkit.entity.Player;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.world.WorldParser;
import mineplex.core.command.CommandBase;
import mineplex.core.common.Rank;
public class ParseCommand extends CommandBase<ArcadeManager>
{
public ParseCommand(ArcadeManager plugin)
{
super(plugin, Rank.ADMIN, "parse");
}
@Override
public void Execute(Player caller, String[] args)
{
caller.sendMessage("Parsing World");
WorldParser parser = new WorldParser();
parser.Parse(caller, args);
}
}