mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-10-22 12:20:26 +02:00
feat: Remove Craftaro as an alias for the Songoda-Command
This commit is contained in:
parent
69c4628c63
commit
c68c419f4f
@ -10,9 +10,6 @@ import com.craftaro.core.dependency.Relocation;
|
||||
import com.craftaro.core.hooks.HookRegistryManager;
|
||||
import com.craftaro.core.locale.Locale;
|
||||
import com.craftaro.core.utils.Metrics;
|
||||
import com.craftaro.core.verification.CraftaroProductVerification;
|
||||
import com.craftaro.core.verification.ProductVerificationStatus;
|
||||
import com.cryptomorin.xseries.XMaterial;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
|
@ -372,10 +372,6 @@ public class CommandManager implements CommandExecutor, TabCompleter {
|
||||
// Set tab complete
|
||||
commandObject.setTabCompleter(tabManager);
|
||||
|
||||
if (command.equalsIgnoreCase("songoda")) {
|
||||
commandObject.setAliases(Collections.singletonList("craftaro"));
|
||||
}
|
||||
|
||||
// Register the command
|
||||
Field fieldKnownCommands = SimpleCommandMap.class.getDeclaredField("knownCommands");
|
||||
fieldKnownCommands.setAccessible(true);
|
||||
|
@ -1,7 +1,7 @@
|
||||
package com.craftaro.core.core;
|
||||
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.craftaro.core.SongodaCore;
|
||||
import com.craftaro.core.commands.AbstractCommand;
|
||||
import com.craftaro.core.gui.GuiManager;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
@ -12,7 +12,7 @@ public class SongodaCoreCommand extends AbstractCommand {
|
||||
protected GuiManager guiManager;
|
||||
|
||||
public SongodaCoreCommand() {
|
||||
super(CommandType.CONSOLE_OK, "craftaro", "songoda");
|
||||
super(CommandType.CONSOLE_OK, "songoda");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user