mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Fixes #1476
This commit is contained in:
parent
8e3407505a
commit
478ad9670b
@ -1730,8 +1730,7 @@ public class SQLManager implements AbstractDB {
|
|||||||
time = System.currentTimeMillis() + id;
|
time = System.currentTimeMillis() + id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Plot p = new Plot(plot_id, user, new HashSet<UUID>(), new HashSet<UUID>(), new HashSet<UUID>(), "", null, null, null,
|
Plot p = new Plot(plot_id, user, new HashSet<UUID>(), new HashSet<UUID>(), new HashSet<UUID>(), "", null, null, null, new boolean[]{false, false, false, false}, time, id);
|
||||||
new boolean[]{false, false, false, false}, time, id);
|
|
||||||
HashMap<PlotId, Plot> map = newPlots.get(areaid);
|
HashMap<PlotId, Plot> map = newPlots.get(areaid);
|
||||||
if (map != null) {
|
if (map != null) {
|
||||||
Plot last = map.put(p.getId(), p);
|
Plot last = map.put(p.getId(), p);
|
||||||
@ -1742,7 +1741,6 @@ public class SQLManager implements AbstractDB {
|
|||||||
PS.debug("&cPLOT #" + id + "(" + last + ") in `" + this.prefix
|
PS.debug("&cPLOT #" + id + "(" + last + ") in `" + this.prefix
|
||||||
+ "plot` is a duplicate. Delete this plot or set `database-purger: true` in the settings.yml.");
|
+ "plot` is a duplicate. Delete this plot or set `database-purger: true` in the settings.yml.");
|
||||||
}
|
}
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
map = new HashMap<>();
|
map = new HashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user