Skip to content

Commit

Permalink
Removing InterruptedException throw
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolLord22 committed Feb 2, 2023
1 parent 4fa9bd3 commit 2c7d863
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public OATListeners(OtherAnimalTeleport plugin) {
}

@EventHandler(priority = EventPriority.HIGHEST)
public void onJoinUpdateChecker(PlayerJoinEvent event) throws InterruptedException {
public void onJoinUpdateChecker(PlayerJoinEvent event) {
Player p = event.getPlayer();
if(p.hasPermission("otheranimalteleport.admin.updates") && plugin.config.globalUpdateChecking)
plugin.updateChecker.checkForUpdate(p);
Expand Down

0 comments on commit 2c7d863

Please sign in to comment.