From 72eec3e240d07d1b14268ccd23cfd30dded3920a Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Wed, 2 Nov 2016 18:19:44 +0100 Subject: [PATCH] Fixed references --- pom.xml | 11 +++-------- .../buttondevteam/chat/commands/CommandCaller.java | 7 +++---- .../chat/commands/ucmds/InfoCommand.java | 1 - 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 83ed437..8bbeeb6 100644 --- a/pom.xml +++ b/pom.xml @@ -121,8 +121,8 @@ 1.9.2-R0.1-SNAPSHOT - com.github.TBMCPlugins.ButtonLib - ButtonLib + com.github.TBMCPlugins.ButtonCore + ButtonCore master-SNAPSHOT @@ -143,7 +143,7 @@ 2.13.1 - com.github.TBMCPlugins.ButtonLib + com.github.TBMCPlugins.ButtonCore Towny master-SNAPSHOT @@ -169,11 +169,6 @@ javassist 3.20.0-GA - - com.github.TBMCPlugins - DiscordPlugin - master-SNAPSHOT - ButtonChat diff --git a/src/main/java/buttondevteam/chat/commands/CommandCaller.java b/src/main/java/buttondevteam/chat/commands/CommandCaller.java index 35dc981..6aff7dd 100644 --- a/src/main/java/buttondevteam/chat/commands/CommandCaller.java +++ b/src/main/java/buttondevteam/chat/commands/CommandCaller.java @@ -1,6 +1,5 @@ package buttondevteam.chat.commands; -import java.util.ArrayList; import java.util.Arrays; import org.bukkit.Bukkit; import org.bukkit.command.Command; @@ -10,7 +9,7 @@ import org.bukkit.command.PluginCommand; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import buttondevteam.chat.PluginMain; -import buttondevteam.discordplugin.TBMCDiscordAPI; +import buttondevteam.lib.TBMCCoreAPI; import buttondevteam.lib.chat.TBMCChatAPI; import buttondevteam.lib.chat.TBMCCommandBase; @@ -67,8 +66,8 @@ public class CommandCaller implements CommandExecutor { if (!cmd.OnCommand(sender, alias, cmdargs)) sender.sendMessage(cmd.GetHelpText(alias)); } catch (Exception e) { - TBMCDiscordAPI.SendException(e, - "Failed to execute command " + cmd.GetCommandPath() + " with arguments " + cmdargs); + TBMCCoreAPI.SendException( + "Failed to execute command " + cmd.GetCommandPath() + " with arguments " + cmdargs, e); } return true; } diff --git a/src/main/java/buttondevteam/chat/commands/ucmds/InfoCommand.java b/src/main/java/buttondevteam/chat/commands/ucmds/InfoCommand.java index 192b143..e00b402 100644 --- a/src/main/java/buttondevteam/chat/commands/ucmds/InfoCommand.java +++ b/src/main/java/buttondevteam/chat/commands/ucmds/InfoCommand.java @@ -2,7 +2,6 @@ package buttondevteam.chat.commands.ucmds; import org.bukkit.command.CommandSender; -import buttondevteam.discordplugin.TBMCDiscordAPI; import buttondevteam.lib.TBMCPlayer; import buttondevteam.lib.TBMCPlayer.InfoTarget;