Skip to content

Commit

Permalink
fix nms binding returning null
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyDev05 committed Apr 1, 2024
1 parent 638d37d commit 34bd53a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ private static INMSBinding bind() {
}

private static Logger getLogger() {
CrazyAdvancementsAPI instance = CrazyAdvancementsAPI.getInstance();
if (instance == null)
return Logger.getLogger(CrazyAdvancementsAPI.class.getSimpleName());
return instance.getLogger();
return Logger.getLogger(CrazyAdvancementsAPI.class.getSimpleName());
}
}

0 comments on commit 34bd53a

Please sign in to comment.