1
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:
Carm Jos 2023-12-25 02:38:43 +08:00
parent 38292052f5
commit f86229037d

View File

@ -23,7 +23,7 @@ public class LoreInsertTest {
); );
List<String> replace = Arrays.asList("> 插入的点击行1", "> 插入的点击行2"); 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)); inserted.put("click-lore", LoreContent.of(replace));
PreparedItem.parseLore(null, original, inserted, new HashMap<>()).forEach(System.out::println); PreparedItem.parseLore(null, original, inserted, new HashMap<>()).forEach(System.out::println);
} }