Skip to content

Commit

Permalink
Registered notification handler as a listener
Browse files Browse the repository at this point in the history
  • Loading branch information
OakLoaf committed Sep 17, 2024
1 parent a6a7438 commit d12562a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public NotificationHandler(Updater updater, String notificationPermission, Strin
this.updater = updater;
this.notificationPermission = notificationPermission;
this.notificationMessage = notificationMessage;

updater.getPlugin().getServer().getPluginManager().registerEvents(this, updater.getPlugin());
}

@EventHandler
Expand Down

0 comments on commit d12562a

Please sign in to comment.