Skip to content

Commit

Permalink
Placeholder now accepts boolean values
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueTree242 committed Feb 11, 2024
1 parent 6d84749 commit 8e46a8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public String apply(@NotNull String s, PlatformPlayer placehold, boolean doAllow
val[0] = val[0].replace("[" + display + "]", "null");
}
}
else if (ob instanceof String || ob instanceof Integer || ob instanceof Double || ob instanceof Long || ob instanceof Float) {
else if (ob instanceof String || ob instanceof Integer || ob instanceof Double || ob instanceof Long || ob instanceof Float || ob instanceof Boolean) {
if (val[0].contains("[" + display + "]")) {
val[0] = val[0].replace("[" + display + "]", ob.toString());
}
Expand Down

0 comments on commit 8e46a8a

Please sign in to comment.