mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-05 11:57:14 +01:00
Merge branch 'hytale' into hytale-curseforge
This commit is contained in:
@@ -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!"
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user