mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 14:33:08 +00:00
Fixing all broken references
This commit is contained in:
parent
ebe80350dc
commit
f6de97a512
21 changed files with 80 additions and 189 deletions
|
@ -131,7 +131,7 @@ public class Merge extends SubCommand {
|
|||
HashSet<PlotId> multiPlots = new HashSet<>();
|
||||
final UUID u1 = plot.owner;
|
||||
for (final PlotId myid : plots) {
|
||||
final Plot myplot = PlotSquared.getPlots(world).get(myid);
|
||||
final Plot myplot = PlotSquared.getInstance().getPlots(world).get(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