Fixup checkstyle errors

This commit is contained in:
William committed 2023-12-10 00:27:00 +00:00
1 parent 859993b37e
commit 6c5d09ff79
2 files changed
+7 -5

No files matched your search

@@ -196,7 +196,9 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
home.isPublic()
);
} catch (ValidationException e) {
int maxHomes = plugin.getManager().homes().getMaxPublicHomes(executor instanceof OnlineUser user ? user : null);
int maxHomes = plugin.getManager().homes().getMaxPublicHomes(
executor instanceof OnlineUser user ? user : null
);
e.dispatchHomeError(executor, false, plugin, Integer.toString(maxHomes));
return;
}