From 97b9198d77770aadf3f986cf89e1be8297e1c906 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 30 Oct 2014 22:32:04 +1100 Subject: [PATCH] fixes --- PlotSquared/src/main/java/com/intellectualcrafters/plot/C.java | 2 +- .../java/com/intellectualcrafters/plot/database/SQLManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/C.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/C.java index c178fc8c2..a5d47a4cf 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/C.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/C.java @@ -211,7 +211,7 @@ public enum C { PLOT_INFO_HELPERS("&6Helpers&7: %helpers%"), PLOT_INFO_TRUSTED("&6Trusted&7: %trusted%"), - PLOT_INFO_DENIED("&6DENIED&7: %denied%"), + PLOT_INFO_DENIED("&6Denied&7: %denied%"), PLOT_INFO_FLAGS("&6Flags&7: %flags%"), PLOT_INFO_BIOME("&6Biome&7: %biome%"), PLOT_INFO_RATING("&6Rating&7: %rating%"), diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java index e406f5d5e..d33c678a7 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/database/SQLManager.java @@ -1034,7 +1034,7 @@ public class SQLManager extends AbstractDB { public void run() { try { PreparedStatement statement = - connection.prepareStatement("DELETE FROM `"+PREFIX+"+plot_helpers` WHERE `plot_plot_id` = ? AND `user_uuid` = ?"); + connection.prepareStatement("DELETE FROM `"+PREFIX+"plot_helpers` WHERE `plot_plot_id` = ? AND `user_uuid` = ?"); statement.setInt(1, getId(world, plot.id)); statement.setString(2, player.getUniqueId().toString()); statement.executeUpdate();