mirror of
https://github.com/CarmJos/EasyConfiguration.git
synced 2026-06-04 10:38:19 +08:00
feat(parser): Supported more insert functions
This commit is contained in:
@@ -11,7 +11,7 @@ public class PreparedText<MSG, RECEIVER> extends TextDispatcher<MSG, RECEIVER, P
|
||||
}
|
||||
|
||||
public PreparedText<MSG, RECEIVER> insert(@NotNull String key,
|
||||
@NotNull ConfiguredText<MSG, RECEIVER> message,
|
||||
@NotNull ConfiguredText<?, RECEIVER> message,
|
||||
@NotNull Object... values) {
|
||||
return insert(key, receiver -> message.parse(receiver, values));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user