Skip to content

Commit

Permalink
Merge pull request #5 from vSKAH/master
Browse files Browse the repository at this point in the history
Patch error
  • Loading branch information
Maxlego08 committed Aug 14, 2020
2 parents 47b25bc + 47f54b6 commit 94d771e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fr/maxlego08/bungeequeue/access/JPremiumAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ public boolean canJoinQueue(ProxiedPlayer player) {

@EventHandler
public void onLogin(AsyncUserPostLoginEvent event) {
UUID uuid = event.getUser().getProxiedPlayer().getUniqueId();
UUID uuid = event.getUser().getUniqueId();
if (!accessPlayers.contains(uuid))
accessPlayers.add(uuid);
}

@EventHandler
public void onRegister(AsyncUserPostRegisterEvent event) {
UUID uuid = event.getUser().getProxiedPlayer().getUniqueId();
UUID uuid = event.getUser().getUniqueId();
if (!accessPlayers.contains(uuid))
accessPlayers.add(uuid);
}
Expand Down

0 comments on commit 94d771e

Please sign in to comment.