Fix typo (#543)
This commit is contained in:
parent
5242973fe8
commit
e7c5078035
5 changed files with 6 additions and 6 deletions
|
|
@ -1415,7 +1415,7 @@ public class Util extends Queue {
|
|||
Map<String, Object> itemMap = new HashMap<>();
|
||||
if (itemStack != null && !itemStack.getType().equals(Material.AIR)) {
|
||||
ItemStack item = itemStack.clone();
|
||||
List<List<Map<String, Object>>> metadata = ItemMetaHandler.seralize(item, null, faceData, slot);
|
||||
List<List<Map<String, Object>>> metadata = ItemMetaHandler.serialize(item, null, faceData, slot);
|
||||
item.setItemMeta(null);
|
||||
itemMap.put("0", item.serialize());
|
||||
itemMap.put("1", metadata);
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ public class ItemMetaHandler {
|
|||
return result;
|
||||
}
|
||||
|
||||
public static List<List<Map<String, Object>>> seralize(ItemStack item, Material type, String faceData, int slot) {
|
||||
public static List<List<Map<String, Object>>> serialize(ItemStack item, Material type, String faceData, int slot) {
|
||||
List<List<Map<String, Object>>> metadata = new ArrayList<>();
|
||||
List<Map<String, Object>> list = new ArrayList<>();
|
||||
List<Object> modifiers = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue