Skip to content

Commit

Permalink
build: bump to 4.6.2, fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Feb 25, 2024
1 parent 1cb56f9 commit 61fd14a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public boolean isVanished() {
}

/**
* Handles player invulnerability after teleporting
* Handles player invulnerability after teleporting.
*/
@Override
public void handleInvulnerability() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -112,8 +110,11 @@ private Optional<PaginatedList> 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("&#00fb9a&Public"):
plugin.getLocales().getRawLocale("home_is_private").orElse("&#239e6f&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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 61fd14a

Please sign in to comment.