diff --git a/common/src/main/java/net/william278/husksync/HuskSync.java b/common/src/main/java/net/william278/husksync/HuskSync.java index d9be7b4d..4bc46917 100644 --- a/common/src/main/java/net/william278/husksync/HuskSync.java +++ b/common/src/main/java/net/william278/husksync/HuskSync.java @@ -378,12 +378,12 @@ public interface HuskSync extends Task.Supplier, EventDispatcher, ConfigProvider private static final String FORMAT = """ HuskSync has failed to load! The plugin will not be enabled and no data will be synchronized. Please make sure the plugin has been setup correctly (https://william278.net/docs/husksync/setup): - + 1) Make sure you've entered your MySQL, MariaDB or MongoDB database details correctly in config.yml 2) Make sure your Redis server details are also correct in config.yml 3) Make sure your config is up-to-date (https://william278.net/docs/husksync/config-file) 4) Check the error below for more details - + Caused by: %s"""; FailedToLoadException(@NotNull String message, @NotNull Throwable cause) { diff --git a/common/src/main/java/net/william278/husksync/user/OnlineUser.java b/common/src/main/java/net/william278/husksync/user/OnlineUser.java index 0bebbec3..33ae53b6 100644 --- a/common/src/main/java/net/william278/husksync/user/OnlineUser.java +++ b/common/src/main/java/net/william278/husksync/user/OnlineUser.java @@ -20,7 +20,6 @@ package net.william278.husksync.user; import de.themoep.minedown.adventure.MineDown; -import de.themoep.minedown.adventure.MineDownParser; import net.kyori.adventure.audience.Audience; import net.kyori.adventure.text.Component; import net.william278.husksync.HuskSync; @@ -71,9 +70,7 @@ public abstract class OnlineUser extends User implements CommandUser, UserDataHo * @param mineDown the parsed {@link MineDown} to send */ public void sendMessage(@NotNull MineDown mineDown) { - sendMessage(mineDown - .disable(MineDownParser.Option.SIMPLE_FORMATTING) - .replace().toComponent()); + sendMessage(mineDown.toComponent()); } /** @@ -82,9 +79,7 @@ public abstract class OnlineUser extends User implements CommandUser, UserDataHo * @param mineDown the parsed {@link MineDown} to send */ public void sendActionBar(@NotNull MineDown mineDown) { - getAudience().sendActionBar(mineDown - .disable(MineDownParser.Option.SIMPLE_FORMATTING) - .replace().toComponent()); + getAudience().sendActionBar(mineDown.toComponent()); } /**