From d9c6d04b46a73b4b7da7a351d2bfe2d36d7689a3 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 29 Mar 2016 19:13:41 +1100 Subject: [PATCH] Debug PlotMe conversion (temporary) --- .../bukkit/database/plotme/ClassicPlotMeConnector.java | 1 + .../bukkit/database/plotme/PlotMeConnector_017.java | 1 + .../java/com/intellectualcrafters/plot/commands/Kick.java | 4 ---- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java b/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java index c22b63f00..67df06031 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java @@ -45,6 +45,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector { } } catch (SQLException | ClassNotFoundException ignored) { //ignored + ignored.printStackTrace(); } return null; } diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/PlotMeConnector_017.java b/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/PlotMeConnector_017.java index c55334be0..8e81567fa 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/PlotMeConnector_017.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/database/plotme/PlotMeConnector_017.java @@ -44,6 +44,7 @@ public class PlotMeConnector_017 extends APlotMeConnector { } } catch (SQLException | ClassNotFoundException ignored) { //ignored + ignored.printStackTrace(); } return null; } diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Kick.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Kick.java index 832dd6836..39b8340da 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Kick.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Kick.java @@ -55,10 +55,6 @@ public class Kick extends SubCommand { MainUtil.sendMessage(plr, C.NO_PLOT_PERMS); return false; } - if (args.length != 1) { - MainUtil.sendMessage(plr, "&c/plot kick "); - return false; - } PlotPlayer player = UUIDHandler.getPlayer(args[0]); if (player == null) { MainUtil.sendMessage(plr, C.INVALID_PLAYER, args[0]);