Skip to content

Commit

Permalink
renamed getter
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Jun 16, 2024
1 parent 68625b9 commit aed4f37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private int size(CommandContext<CommandSourceStack> 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;
}

Expand Down

0 comments on commit aed4f37

Please sign in to comment.