Skip to content

Commit

Permalink
Fix equippable component writing (#868)
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipseisoffline authored Nov 7, 2024
1 parent 88188c5 commit 8150091
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public void writeEquippable(ByteBuf buf, Equippable equippable) {
}

this.writeNullable(buf, equippable.model(), this::writeResourceLocation);
this.writeNullable(buf, equippable.cameraOverlay(), this::writeResourceLocation);
this.writeNullable(buf, equippable.allowedEntities(), this::writeHolderSet);
buf.writeBoolean(equippable.dispensable());
buf.writeBoolean(equippable.swappable());
Expand Down

0 comments on commit 8150091

Please sign in to comment.