mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Fix PlotMe conversion
This commit is contained in:
parent
0c4b703510
commit
8e874ddeb0
@ -34,7 +34,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
|
|||||||
this.plugin = plugin.toLowerCase();
|
this.plugin = plugin.toLowerCase();
|
||||||
prefix = plotConfig.getString("mySQLprefix");
|
prefix = plotConfig.getString("mySQLprefix");
|
||||||
if (prefix == null) {
|
if (prefix == null) {
|
||||||
prefix = plugin;
|
prefix = plugin.toLowerCase();
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
if (plotConfig.getBoolean("usemySQL")) {
|
if (plotConfig.getBoolean("usemySQL")) {
|
||||||
@ -68,7 +68,7 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
|
|||||||
} else if (checkUUID2) {
|
} else if (checkUUID2) {
|
||||||
column = "ownerId";
|
column = "ownerId";
|
||||||
}
|
}
|
||||||
final boolean merge = !plugin.equals("plotme") && Settings.CONVERT_PLOTME;
|
final boolean merge = !plugin.equalsIgnoreCase("plotme") && Settings.CONVERT_PLOTME;
|
||||||
int missing = 0;
|
int missing = 0;
|
||||||
while (r.next()) {
|
while (r.next()) {
|
||||||
final PlotId id = new PlotId(r.getInt("idX"), r.getInt("idZ"));
|
final PlotId id = new PlotId(r.getInt("idX"), r.getInt("idZ"));
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user