Fixed references

This commit is contained in:
Norbi Peti 2016-11-02 18:19:44 +01:00
parent 711e223f2a
commit 72eec3e240
3 changed files with 6 additions and 13 deletions

11
pom.xml
View file

@ -121,8 +121,8 @@
<version>1.9.2-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.TBMCPlugins.ButtonLib</groupId>
<artifactId>ButtonLib</artifactId>
<groupId>com.github.TBMCPlugins.ButtonCore</groupId>
<artifactId>ButtonCore</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/net.sourceforge.htmlcleaner/htmlcleaner -->
@ -143,7 +143,7 @@
<version>2.13.1</version>
</dependency>
<dependency>
<groupId>com.github.TBMCPlugins.ButtonLib</groupId>
<groupId>com.github.TBMCPlugins.ButtonCore</groupId>
<artifactId>Towny</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
@ -169,11 +169,6 @@
<artifactId>javassist</artifactId>
<version>3.20.0-GA</version>
</dependency>
<dependency>
<groupId>com.github.TBMCPlugins</groupId>
<artifactId>DiscordPlugin</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
</dependencies>
<artifactId>ButtonChat</artifactId>
<organization>

View file

@ -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;
}

View file

@ -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;