mirror of
https://github.com/CarmJos/MineConfiguration.git
synced 2024-09-19 20:05:49 +00:00
feat(notify): 尝试实现整合的消息配置 #39
This commit is contained in:
parent
38292052f5
commit
f86229037d
@ -23,7 +23,7 @@ public class LoreInsertTest {
|
||||
);
|
||||
|
||||
List<String> replace = Arrays.asList("> 插入的点击行1", "> 插入的点击行2");
|
||||
Map<String, LoreContent> inserted = new HashMap<>();
|
||||
Map<String, LoreContent<?>> inserted = new HashMap<>();
|
||||
inserted.put("click-lore", LoreContent.of(replace));
|
||||
PreparedItem.parseLore(null, original, inserted, new HashMap<>()).forEach(System.out::println);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user