Merge branch 'hytale' into hytale-curseforge

This commit is contained in:
PiggyPiglet
2026-01-30 22:17:24 +08:00
2 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ plugins {
}
group = "at.helpch"
version = "1.0.2-DEV-${System.getProperty("BUILD_NUMBER")}"
version = "1.0.2"
description = "An awesome placeholder provider!"

View File

@@ -323,4 +323,8 @@ public final class PlaceholderAPI {
public static boolean containsBracketPlaceholders(String text) {
return text != null && BRACKET_PLACEHOLDER_PATTERN.matcher(text).find();
}
public static String booleanValue(final boolean value) {
return value ? PlaceholderAPIPlugin.instance().configManager().config().booleanValue().trueValue() : PlaceholderAPIPlugin.instance().configManager().config().booleanValue().falseValue();
}
}