Skip to content

Commit

Permalink
Update Relics.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayray75 committed Sep 17, 2023
1 parent 9265027 commit b0f8a76
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ private static void render(WorldRenderContext context) {

private static boolean isRelicFound(BlockPos pos) {
Set<BlockPos> foundRelicsForProfile = foundRelics.get(Utils.getProfile());
if (foundRelicsForProfile == null) {
return false;
}
return foundRelicsForProfile.contains(pos);
return (foundRelicsForProfile == null) ? false : foundRelicsForProfile.contains(pos);
}

private static void markClosestRelicFound() {
Expand Down

0 comments on commit b0f8a76

Please sign in to comment.