mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Display the correct number of grants used in auto
This commit is contained in:
parent
9226aaff1f
commit
df5feff9ec
@ -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 New Issue
Block a user