Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -148,6 +148,11 @@ public class DisplayMessage {
|
||||
return copy;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public DisplayMessage replace(@NotNull String key, String value) {
|
||||
return replace(TextReplacementConfig.builder().matchLiteral(key).replacement(value).build());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public JsonObject toJson() {
|
||||
JsonObject object = new JsonObject();
|
||||
|
Reference in New Issue
Block a user