1
mirror of https://github.com/CarmJos/MineConfiguration.git synced 2026-06-04 21:58:16 +08:00

feat(item): 为ItemConfig添加 ItemFlag 与 enchant 相关配置

This commit is contained in:
2022-06-18 06:10:17 +08:00
parent 346ae4c494
commit 7fa6fa1551
@@ -121,7 +121,7 @@ public class ItemConfig {
} }
if (!flags.isEmpty()) { if (!flags.isEmpty()) {
map.put("flags", flags.stream().map(ItemFlag::name).collect(Collectors.toSet())); map.put("flags", flags.stream().map(ItemFlag::name).collect(Collectors.toList()));
} }
return map; return map;
} }