1
mirror of https://github.com/CarmJos/EasyPlugin.git synced 2026-06-04 08:38:17 +08:00

chore(item): 添加序列化方法

This commit is contained in:
2022-06-18 00:21:03 +08:00
parent b6bd4beda0
commit 558723ea82
@@ -46,7 +46,7 @@ public class GUIItemConfiguration {
this.slots.forEach(slot -> gui.setItem(slot, item));
}
public Map<String, Object> serialize() {
public @NotNull Map<String, Object> serialize() {
LinkedHashMap<String, Object> map = new LinkedHashMap<>();
map.put("type", this.type.name());