diff --git a/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java b/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java index 2a9a2cb4c..26e421b74 100644 --- a/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java +++ b/src/main/java/com/plotsquared/bukkit/database/plotme/ClassicPlotMeConnector.java @@ -34,7 +34,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector { this.plugin = plugin.toLowerCase(); prefix = plotConfig.getString("mySQLprefix"); if (prefix == null) { - prefix = plugin; + prefix = plugin.toLowerCase(); } try { if (plotConfig.getBoolean("usemySQL")) { @@ -68,7 +68,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector { } else if (checkUUID2) { column = "ownerId"; } - final boolean merge = !plugin.equals("plotme") && Settings.CONVERT_PLOTME; + final boolean merge = !plugin.equalsIgnoreCase("plotme") && Settings.CONVERT_PLOTME; int missing = 0; while (r.next()) { final PlotId id = new PlotId(r.getInt("idX"), r.getInt("idZ")); diff --git a/target/PlotSquared-Bukkit.jar b/target/PlotSquared-Bukkit.jar index cda0393f6..4124602bc 100644 Binary files a/target/PlotSquared-Bukkit.jar and b/target/PlotSquared-Bukkit.jar differ