Skip to content

Commit

Permalink
fix: dfc issues with some worldgen datapacks
Browse files Browse the repository at this point in the history
Cherry-picked from ef2e960
  • Loading branch information
ishland committed Feb 21, 2025
1 parent b554bae commit 64469c7
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 @@ -87,7 +87,7 @@ private double wrapSample(DensityFunction.NoisePos pos, Operation<Double> origin
}
}

return CACHE_MISS_NAN_BITS;
return Double.longBitsToDouble(CACHE_MISS_NAN_BITS);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private double wrapSample(DensityFunction.NoisePos pos, Operation<Double> origin
}
}

return CACHE_MISS_NAN_BITS;
return Double.longBitsToDouble(CACHE_MISS_NAN_BITS);
}

@Override
Expand Down

0 comments on commit 64469c7

Please sign in to comment.