Fixing all broken references

This commit is contained in:
sauilitired 2015-07-03 11:45:00 +02:00
parent ebe80350dc
commit f6de97a512
21 changed files with 80 additions and 189 deletions

View file

@ -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;