Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
best dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Simplicitee committed Dec 30, 2019
1 parent aab4d9c commit 65db875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/me/simplicitee/project/addons/MainListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,11 @@ public void run() {
}.runTaskLater(plugin, 5);
}

@EventHandler
@EventHandler(priority = EventPriority.LOWEST)
public void onQuit(PlayerQuitEvent event) {
final Player player = event.getPlayer();

if (!plugin.isBoardEnabled()) {
if (plugin.isBoardEnabled()) {
plugin.getBoardManager().remove(player);
}

Expand Down

0 comments on commit 65db875

Please sign in to comment.