mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 13:03:06 +00:00
Fixed plot permissions never working.
This commit is contained in:
parent
044abeaee9
commit
e016cb5c85
5 changed files with 7 additions and 7 deletions
|
@ -120,7 +120,7 @@ public class Auto extends SubCommand {
|
|||
return false;
|
||||
}
|
||||
final int currentPlots = MainUtil.getPlayerPlotCount(world, plr);
|
||||
final int diff = currentPlots - MainUtil.getAllowedPlots(plr, currentPlots);
|
||||
final int diff = currentPlots - MainUtil.getAllowedPlots(plr);
|
||||
if ((diff + (size_x * size_z)) > 0) {
|
||||
if (diff < 0) {
|
||||
MainUtil.sendMessage(plr, C.CANT_CLAIM_MORE_PLOTS_NUM, (-diff) + "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue