mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2026-06-04 16:48:16 +08:00
chore(item): 添加序列化方法
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ public class GUIItemConfiguration {
|
|||||||
this.slots.forEach(slot -> gui.setItem(slot, item));
|
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<>();
|
LinkedHashMap<String, Object> map = new LinkedHashMap<>();
|
||||||
|
|
||||||
map.put("type", this.type.name());
|
map.put("type", this.type.name());
|
||||||
|
|||||||
Reference in New Issue
Block a user