From df5feff9ec0689e74f8f5a72ee5902a026a841ea Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Tue, 5 May 2020 13:50:29 +0100 Subject: [PATCH] Display the correct number of grants used in auto --- Core/src/main/java/com/plotsquared/core/command/Auto.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Auto.java b/Core/src/main/java/com/plotsquared/core/command/Auto.java index 3b07db443..8681d4dff 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Auto.java +++ b/Core/src/main/java/com/plotsquared/core/command/Auto.java @@ -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);