Display the correct number of grants used in auto

This commit is contained in:
dordsor21 2020-05-05 13:50:29 +01:00
parent 9226aaff1f
commit df5feff9ec

View File

@ -94,8 +94,8 @@ public class Auto extends SubCommand {
} else {
player.setPersistentMeta("grantedPlots", Ints.toByteArray(left));
}
MainUtil.sendMessage(player, Captions.REMOVED_GRANTED_PLOT, "" + left,
"" + (grantedPlots - left));
MainUtil.sendMessage(player, Captions.REMOVED_GRANTED_PLOT,
"" + (grantedPlots - left), "" + left);
}
} else {
MainUtil.sendMessage(player, Captions.CANT_CLAIM_MORE_PLOTS);