mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-11 06:45:49 +00:00
Database correction / Code cleanup, Fixes #490
This commit is contained in:
parent
5ea7403d2e
commit
46e48857bf
33 changed files with 350 additions and 183 deletions
|
@ -156,7 +156,7 @@ public class Merge extends SubCommand {
|
|||
HashSet<PlotId> multiPlots = new HashSet<>();
|
||||
final UUID u1 = plot.owner;
|
||||
for (final PlotId myid : plots) {
|
||||
final Plot myplot = PS.get().getPlots(world).get(myid);
|
||||
final Plot myplot = PS.get().getPlot(world, myid);
|
||||
if (myplot == null || myplot.owner == null) {
|
||||
MainUtil.sendMessage(plr, C.NO_PERM_MERGE.s().replaceAll("%plot%", myid.toString()));
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue