mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-01 22:14:56 +00:00
22 lines
718 B
Java
22 lines
718 B
Java
package com.arcaniax.buildersutilities.commands.aliases;
|
|
|
|
import com.arcaniax.buildersutilities.Main;
|
|
import com.arcaniax.buildersutilities.Settings;
|
|
import com.arcaniax.buildersutilities.commands.system.ICommand;
|
|
import org.bukkit.entity.Player;
|
|
|
|
public class CuboidSelectionAliasCommand implements ICommand {
|
|
@Override
|
|
public void execute(Player player, String[] args) {
|
|
if (!player.hasPermission("builders.util.aliases")) {
|
|
if (Settings.sendErrorMessages) {
|
|
player.sendMessage(Main.MSG_ERROR + "You do not have access to this command.");
|
|
}
|
|
return;
|
|
}
|
|
|
|
Main.getInstance().getServer().dispatchCommand(player, "/sel cuboid");
|
|
|
|
}
|
|
}
|