mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add fabric builds for older MC versions & add checkstyle (#449)
* Remove instance getters, improve command logic, register APi * Publish multiple fabric builds, enforce checkstyle * Bump guava * Bump to 4.4.2
This commit is contained in:
1 parent
51baf196b3
commit
c9f5262292
219 files changed
+8032
-1392
No files matched your search
@@ -100,12 +100,15 @@ public class HuskHomesCommand extends Command implements TabProvider {
|
||||
.getNearestValidPage(parseIntArg(args, 1).orElse(1)));
|
||||
case "reload" -> {
|
||||
if (!plugin.loadConfigs()) {
|
||||
executor.sendMessage(new MineDown("[Error:](#ff3300) [Failed to reload the plugin. Check console for errors.](#ff7e5e)"));
|
||||
executor.sendMessage(new MineDown(
|
||||
"[Error:](#ff3300) [Failed to reload the plugin. Check console for errors.](#ff7e5e)"
|
||||
));
|
||||
return;
|
||||
}
|
||||
executor.sendMessage(new MineDown("""
|
||||
[HuskHomes](#00fb9a bold) [| Reloaded config & message files.](#00fb9a)
|
||||
[ℹ If you have modified the database or cross-server message broker settings, you need to restart your server for these changes to take effect.](gray)"""
|
||||
executor.sendMessage(new MineDown(
|
||||
"[HuskHomes](#00fb9a bold) [| Reloaded config & message files.](#00fb9a)\n"
|
||||
+ "[ℹ If you have modified the database or cross-server message broker settings,"
|
||||
+ " you need to restart your server for these changes to take effect.](gray)"
|
||||
));
|
||||
}
|
||||
case "update" -> updateChecker.check().thenAccept(checked -> {
|
||||
|
||||
Reference in new issue
Block a user