Skip to content

Commit

Permalink
fix: WeeklySchedule: Fixed null exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dm94 committed Oct 30, 2024
1 parent c4b071b commit 725eb8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/deeme/tasks/WeeklySchedule.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private void setProfile() {
}

private boolean isRunningPalladiumModule() {
return botApi.getModule().getClass() == PalladiumHangar.class;
return botApi.getModule() != null && botApi.getModule().getClass() == PalladiumHangar.class;
}

private void tryUpdateHangarList() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "DmPlugin",
"author": "Dm94Dani",
"version": "2.3.4 beta 6",
"version": "2.3.4 beta 7",
"minVersion": "1.131",
"supportedVersion": "1.131.2",
"basePackage": "com.deeme",
Expand Down

0 comments on commit 725eb8d

Please sign in to comment.