diff --git a/bukkit/src/main/java/net/william278/huskhomes/user/BukkitUser.java b/bukkit/src/main/java/net/william278/huskhomes/user/BukkitUser.java index 3725a381..86f8f875 100644 --- a/bukkit/src/main/java/net/william278/huskhomes/user/BukkitUser.java +++ b/bukkit/src/main/java/net/william278/huskhomes/user/BukkitUser.java @@ -161,7 +161,7 @@ public boolean isVanished() { } /** - * Handles player invulnerability after teleporting + * Handles player invulnerability after teleporting. */ @Override public void handleInvulnerability() { diff --git a/common/src/main/java/net/william278/huskhomes/command/HomeListCommand.java b/common/src/main/java/net/william278/huskhomes/command/HomeListCommand.java index b1e2b37d..ff80e996 100644 --- a/common/src/main/java/net/william278/huskhomes/command/HomeListCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/HomeListCommand.java @@ -19,8 +19,6 @@ package net.william278.huskhomes.command; -import de.themoep.minedown.adventure.MineDown; -import de.themoep.minedown.adventure.MineDownParser; import net.william278.huskhomes.HuskHomes; import net.william278.huskhomes.config.Locales; import net.william278.huskhomes.position.Home; @@ -112,8 +110,11 @@ private Optional generateList(@NotNull CommandUser executor, @Not plugin.getLocales() .getRawLocale("home_list_item", Locales.escapeText(home.getName()), home.getSafeIdentifier(), - home.isPublic() ? plugin.getLocales().getRawLocale("home_is_public").orElse("�fb9a&Public"): - plugin.getLocales().getRawLocale("home_is_private").orElse("ïe6f&Private"), + home.isPublic() + ? plugin.getLocales().getRawLocale("home_is_public") + .orElse("Public") + : plugin.getLocales().getRawLocale("home_is_private") + .orElse("Private"), Locales.escapeText(home.getMeta().getDescription())) .orElse(home.getName())).sorted().collect(Collectors.toList()), plugin.getLocales() diff --git a/common/src/main/java/net/william278/huskhomes/user/OnlineUser.java b/common/src/main/java/net/william278/huskhomes/user/OnlineUser.java index fce5559d..0261f9d5 100644 --- a/common/src/main/java/net/william278/huskhomes/user/OnlineUser.java +++ b/common/src/main/java/net/william278/huskhomes/user/OnlineUser.java @@ -212,7 +212,9 @@ public Audience getAudience() { public abstract boolean isVanished(); /** - * Handles player invulnerability after teleporting + * Handles player invulnerability after teleporting. + * + * @since 4.6.2 */ public abstract void handleInvulnerability(); diff --git a/fabric/src/main/java/net/william278/huskhomes/FabricHuskHomes.java b/fabric/src/main/java/net/william278/huskhomes/FabricHuskHomes.java index 9184c4fc..77f83267 100644 --- a/fabric/src/main/java/net/william278/huskhomes/FabricHuskHomes.java +++ b/fabric/src/main/java/net/william278/huskhomes/FabricHuskHomes.java @@ -52,8 +52,8 @@ import net.william278.huskhomes.database.SqLiteDatabase; import net.william278.huskhomes.event.FabricEventDispatcher; import net.william278.huskhomes.hook.FabricImpactorEconomyHook; -import net.william278.huskhomes.hook.Hook; import net.william278.huskhomes.hook.FabricPlaceholderAPIHook; +import net.william278.huskhomes.hook.Hook; import net.william278.huskhomes.listener.EventListener; import net.william278.huskhomes.listener.FabricEventListener; import net.william278.huskhomes.manager.Manager; diff --git a/gradle.properties b/gradle.properties index d2471c76..9e154d06 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.daemon=true # Plugin metadata -plugin_version=4.6.1 +plugin_version=4.6.2 plugin_archive=huskhomes plugin_description=The powerful and intuitive homes, warps, and teleports plugin/mod