Skip to content

Commit

Permalink
Fixed auto updater crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni0451 committed Jun 21, 2023
1 parent 963826e commit 854c34b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/net/lenni0451/spm/PluginManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ private void checkUpdates() {
Class.forName(ThreadUtils.class.getName());
Class.forName(ReflectionUtils.class.getName());
Class.forName(FileOutputStream.class.getName());
try {
Class.forName(PluginUtils.PAPER_SUPPORT);
Class.forName(PluginUtils.PAPER_PLUGIN_PROVIDER_STORAGE);
} catch (Throwable ignored) {
}
}

final File pluginFile = this.getFile();
Expand Down

0 comments on commit 854c34b

Please sign in to comment.