This commit is contained in:
boy0001 2015-02-21 23:01:15 +11:00
parent 50c80ba5c4
commit 1eb0ba47b4
30 changed files with 37 additions and 69 deletions

View file

@ -78,7 +78,7 @@ public class Merge extends SubCommand {
MainUtil.sendMessage(plr, C.NOT_IN_PLOT);
return true;
}
final Plot plot = BukkitPlayerFunctions.getCurrentPlot(plr);
final Plot plot = MainUtil.getPlot(loc);
if ((plot == null) || !plot.hasOwner()) {
MainUtil.sendMessage(plr, C.PLOT_UNOWNED);
return false;