diff --git a/common/src/main/java/net/william278/huskhomes/command/EditHomeCommand.java b/common/src/main/java/net/william278/huskhomes/command/EditHomeCommand.java index eb0a53ee..70d8bf30 100644 --- a/common/src/main/java/net/william278/huskhomes/command/EditHomeCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/EditHomeCommand.java @@ -213,7 +213,8 @@ public class EditHomeCommand extends CommandBase implements TabCompletable { final int maxPublicHomes = editor.getMaxPublicHomes(plugin.getSettings().maxPublicHomes, plugin.getSettings().stackPermissionLimits); if (existingPublicHomes.size() >= maxPublicHomes) { - plugin.getLocales().getLocale("error_edit_home_maximum_public_homes") + plugin.getLocales().getLocale("error_edit_home_maximum_public_homes", + Integer.toString(maxPublicHomes)) .ifPresent(editor::sendMessage); return; }