Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Fixes crashes with legacy catalysts in RS.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Aug 26, 2024
1 parent 3559c7d commit 29c5b3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ storage_network_version=3868680
# The version of Toms Simple Storage mod
toms_storage_version=5211203
# The mod version. See https://semver.org/
mod_version=2.7.0
mod_version=2.7.1
# The change Log
changelog=Check changelog in CurseForge page.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ public static int compareCatalysts(String leftName,
List<CatalystOptions> sortingOrder,
boolean ascending)
{
if (leftData == null) leftData = new CompoundTag();
if (rightData == null) rightData = new CompoundTag();

int returnValue = 0;
for (int i = 0, sortingOrderSize = sortingOrder.size(); returnValue == 0 && i < sortingOrderSize; i++)
{
Expand Down

0 comments on commit 29c5b3d

Please sign in to comment.