Skip to content

Commit d3919bc

Browse files
committed
move around the logic
1 parent 76a2f6e commit d3919bc

File tree

1 file changed

+2
-2
lines changed
  • Item Creator/src/main/java/org/broken/arrow/library/itemcreator/serialization/itemstack

1 file changed

+2
-2
lines changed

Item Creator/src/main/java/org/broken/arrow/library/itemcreator/serialization/itemstack/SerializeItem.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,6 @@ public String toString() {
520520
string.appendFieldRecursive("enchantments", enchantments, 1);
521521
string.appendFieldRecursive("attributeModifiers", attributeModifiers, 1);
522522
string.appendFieldRecursive("patterns", patterns, 1);
523-
string.appendFieldRecursive("type", type, 1);
524523
string.appendFieldRecursive("armorColor", armorColor, 1);
525524
string.appendFieldRecursive("name", name, 1);
526525
string.appendFieldRecursive("lore", lore, 1);
@@ -532,10 +531,11 @@ public String toString() {
532531
string.appendFieldRecursive("bookMenta", bookMenta, 1);
533532
string.appendFieldRecursive("mapViewMeta", mapViewMeta, 1);
534533
string.appendFieldRecursive("skullUrl", skullUrl, 1);
534+
string.appendFieldRecursive("type", type, 1);
535535
if (amount > 0) string.appendFieldRecursive("amount", amount, 1);
536536
if (unbreakable) string.appendFieldRecursive("unbreakable", unbreakable, 1);
537537

538538
return string.finalizeString().toString();
539539
}
540-
540+
541541
}

0 commit comments

Comments
 (0)