mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-13 01:51:24 +01:00
Revert "Make legacz placeholders optional"
This reverts commit f100e3cd20
.
This commit is contained in:
parent
f100e3cd20
commit
e4d46d1a4b
@ -4,17 +4,12 @@ public class MiniMessagePlaceholder {
|
||||
|
||||
public static String PLACEHOLDER_PREFIX = "%";
|
||||
public static String PLACEHOLDER_SUFFIX = "%";
|
||||
public static boolean useLegacyPlaceholders = false;
|
||||
|
||||
private final String placeholder;
|
||||
private final String value;
|
||||
|
||||
public MiniMessagePlaceholder(String placeholder, String value) {
|
||||
if (useLegacyPlaceholders) {
|
||||
this.placeholder = PLACEHOLDER_PREFIX + placeholder + PLACEHOLDER_SUFFIX;
|
||||
} else {
|
||||
this.placeholder = placeholder;
|
||||
}
|
||||
this.placeholder = PLACEHOLDER_PREFIX + placeholder + PLACEHOLDER_SUFFIX;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user