From aed4f37f6c28a83fc512185033e8cb019e9a916f Mon Sep 17 00:00:00 2001 From: david Date: Sun, 16 Jun 2024 15:05:06 +0200 Subject: [PATCH] renamed getter --- .../java/net/thenextlvl/gopaint/command/GoPaintCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/thenextlvl/gopaint/command/GoPaintCommand.java b/src/main/java/net/thenextlvl/gopaint/command/GoPaintCommand.java index 1a8e9705..1aba55e6 100644 --- a/src/main/java/net/thenextlvl/gopaint/command/GoPaintCommand.java +++ b/src/main/java/net/thenextlvl/gopaint/command/GoPaintCommand.java @@ -41,7 +41,7 @@ private int size(CommandContext context) { var brush = plugin.brushManager().getBrush(player); brush.setSize(context.getArgument("size", int.class)); plugin.bundle().sendMessage(player, "command.gopaint.brush.size", - Placeholder.parsed("size", String.valueOf(brush.size()))); + Placeholder.parsed("size", String.valueOf(brush.getSize()))); return Command.SINGLE_SUCCESS; }