1.14+ support & Recode

This commit is contained in:
Lesley Dom committed 2020-09-08 15:13:52 +02:00
1 parent 74a4eeb19f
commit d2f6e0a1c8
65 files changed
+6487

No files matched your search

@@ -0,0 +1,22 @@
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.ChatColor;
import org.bukkit.entity.Player;
public class PosOneAliasCommand 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, "/pos1");
}
}