Skip to content

Commit

Permalink
fix: Fix items not being serialized properly in ImplementedContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 19, 2024
1 parent 1a7e16f commit d0c54d2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ default CompoundTag serializeInventory(HolderLookup.Provider provider) {
if (!items.get(i).isEmpty()) {
CompoundTag itemTag = new CompoundTag();
itemTag.putInt("Slot", i);
items.get(i).save(provider, itemTag);
itemTags.add(itemTag);
itemTags.add(items.get(i).save(provider, itemTag));
}
}
CompoundTag nbt = new CompoundTag();
Expand Down

0 comments on commit d0c54d2

Please sign in to comment.