mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 19:54:43 +02:00
Some fixes
Fixes #641 Closes #640 (need to also update Plot2Dynmap) Fixes #637 (duplicate) Fixes #636 Fixes #634
This commit is contained in:
@ -100,7 +100,7 @@ public class Merge extends SubCommand {
|
||||
final int size = plot.getConnectedPlots().size();
|
||||
final int maxSize = Permissions.hasPermissionRange(plr, "plots.merge", Settings.MAX_PLOTS);
|
||||
if (size >= maxSize) {
|
||||
MainUtil.sendMessage(plr, C.NO_PERMISSION, "plots.merge." + size);
|
||||
MainUtil.sendMessage(plr, C.NO_PERMISSION, "plots.merge." + (size + 1));
|
||||
return false;
|
||||
}
|
||||
if (args.length == 0) {
|
||||
|
Reference in New Issue
Block a user