mirror of
https://github.com/CarmJos/EasyPlugin.git
synced 2024-09-19 19:25:45 +00:00
chore(item): 添加序列化方法
This commit is contained in:
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());
|
||||
|
Loading…
Reference in New Issue
Block a user