Skip to content

Commit

Permalink
fix skins not loaded on world join
Browse files Browse the repository at this point in the history
  • Loading branch information
MelanX committed Apr 12, 2024
1 parent fcaeadc commit 442ef0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/melanx/datatrader/trader/Trader.java
Expand Up @@ -274,7 +274,7 @@ public void addAdditionalSaveData(@Nonnull CompoundTag tag) {
public void readAdditionalSaveData(@Nonnull CompoundTag tag) {
super.readAdditionalSaveData(tag);
try {
this.offerId = new ResourceLocation(tag.getString("OfferId"));
this.setOfferId(new ResourceLocation(tag.getString("OfferId")));
} catch (ResourceLocationException e) {
this.offerId = null;
}
Expand Down

0 comments on commit 442ef0a

Please sign in to comment.