9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

Merge pull request #20

fix: MiniMessage format and spigot update checker
This commit is contained in:
Logan
2025-10-11 22:06:54 -05:00
committed by GitHub
3 changed files with 2 additions and 5 deletions

View File

@@ -26,9 +26,6 @@ allprojects {
// Paper Repo // Paper Repo
maven("https://repo.papermc.io/repository/maven-public/") maven("https://repo.papermc.io/repository/maven-public/")
// UpdateChecker TODO: Fix this and move it to internal repo, a hacky workaround for now
maven("https://maven.paulem.ovh/releases")
// Nexo // Nexo
maven("https://repo.nexomc.com/snapshots/") maven("https://repo.nexomc.com/snapshots/")
maven("https://repo.nexomc.com/releases/") maven("https://repo.nexomc.com/releases/")
@@ -120,8 +117,8 @@ allprojects {
} }
implementation("net.kyori:option:1.1.0") implementation("net.kyori:option:1.1.0")
implementation("org.bstats:bstats-bukkit:3.1.0") implementation("org.bstats:bstats-bukkit:3.1.0")
implementation("com.jeff_media:SpigotUpdateChecker:3.0.4")
implementation("com.github.BG-Software-LLC:CommentedConfiguration:bed3c46369") implementation("com.github.BG-Software-LLC:CommentedConfiguration:bed3c46369")
implementation(fileTree("${project.rootDir}/lib") { include("SpigotUpdateChecker.jar") })
} }
} }

View File

@@ -6,7 +6,7 @@ public class StringUtils {
@NotNull @NotNull
public static String parseStringToString(final String parsed) { public static String parseStringToString(final String parsed) {
return AdventureUtils.SERIALIZER.serialize(AdventureUtils.MINI_MESSAGE.deserialize(parsed)); return AdventureUtils.MINI_MESSAGE.serialize(AdventureUtils.MINI_MESSAGE.deserialize(parsed));
} }
} }

BIN
lib/SpigotUpdateChecker.jar Normal file

Binary file not shown.