Skip to content

Commit

Permalink
Hotfix recipe result storing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Sep 20, 2024
1 parent 317d2ea commit a0b0e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static CompoundTag serialize(@NotNull final HolderLookup.Provider provide
compound.putString(NBT_TYPE, equipment.getEquipmentType().getRegistryName().toString());
compound.putInt(NBT_MIN_LEVEL, equipment.getMinLevel());
compound.putInt(NBT_MAX_LEVEL, equipment.getMaxLevel());
compound.put(NBT_RESULT, equipment.getResult().save(provider));
compound.put(NBT_RESULT, equipment.getResult().saveOptional(provider));

return compound;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public CompoundTag serialize(
catch (final Exception e)
{
standardRequestIdentitiesDataStore.getIdentities().remove(entry.getKey());
Log.getLogger().error(e);
Log.getLogger().error("Error serializing request identity", e);
}
}
systemCompound.put(TAG_LIST, listTag);
Expand Down

0 comments on commit a0b0e8d

Please sign in to comment.