mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 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
@@ -71,7 +71,8 @@ public abstract class Importer extends Hook {
|
||||
|
||||
protected abstract int importData(@NotNull ImportData importData) throws Throwable;
|
||||
|
||||
protected final void log(@NotNull CommandUser user, @NotNull Level level, @NotNull String message, @NotNull Throwable... e) {
|
||||
protected final void log(@NotNull CommandUser user, @NotNull Level level, @NotNull String message,
|
||||
@NotNull Throwable... e) {
|
||||
message = "[Importer] " + message;
|
||||
if (user instanceof OnlineUser online) {
|
||||
final TextColor color = level == Level.SEVERE || level == Level.WARNING
|
||||
@@ -93,7 +94,7 @@ public abstract class Importer extends Hook {
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents types of data that can be imported
|
||||
* Represents types of data that can be imported.
|
||||
*/
|
||||
public enum ImportData {
|
||||
USERS("User Data"),
|
||||
|
||||
Reference in new issue
Block a user