mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
Display the correct number of grants used in auto
This commit is contained in:
parent
9226aaff1f
commit
df5feff9ec
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ public class Auto extends SubCommand {
|
||||||
} else {
|
} else {
|
||||||
player.setPersistentMeta("grantedPlots", Ints.toByteArray(left));
|
player.setPersistentMeta("grantedPlots", Ints.toByteArray(left));
|
||||||
}
|
}
|
||||||
MainUtil.sendMessage(player, Captions.REMOVED_GRANTED_PLOT, "" + left,
|
MainUtil.sendMessage(player, Captions.REMOVED_GRANTED_PLOT,
|
||||||
"" + (grantedPlots - left));
|
"" + (grantedPlots - left), "" + left);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
MainUtil.sendMessage(player, Captions.CANT_CLAIM_MORE_PLOTS);
|
MainUtil.sendMessage(player, Captions.CANT_CLAIM_MORE_PLOTS);
|
||||||
|
|
Loading…
Reference in a new issue