Skip to content

Commit

Permalink
fixing material serialization of itembuilder (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksyKun authored Jan 23, 2025
1 parent 55e0976 commit 087bdea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public ItemBuilder reset() {
@Override
public Map<String, Object> serialize() {
final SerializationBuilder b = SerializationBuilder.start(7);
b.append("material", this.material);
b.append("material", this.material.getNamespacedID());
b.append("amount", this.amount);
b.append("durability", this.durability);
b.append("unbreakable", this.unbreakable);
Expand Down

0 comments on commit 087bdea

Please sign in to comment.