This commit is contained in:
boy0001 2015-01-02 00:28:57 +11:00
parent a6d6c34902
commit b58b6f5963
2 changed files with 3 additions and 2 deletions

View file

@ -87,7 +87,7 @@ public class Merge extends SubCommand {
return false;
}
boolean admin = PlotMain.hasPermission(plr, "plots.admin");
if (!plot.getOwner().equals(UUIDHandler.getUUID( plr)) && !admin) {
if (!plot.getOwner().equals(UUIDHandler.getUUID(plr)) && !admin) {
PlayerFunctions.sendMessage(plr, C.NO_PLOT_PERMS);
return false;
}