diff --git a/src/eu/ruekov/ruakij/forceServer/listener/PostLogin.java b/src/eu/ruekov/ruakij/forceServer/listener/PostLogin.java index 91bddea..3a8fe24 100644 --- a/src/eu/ruekov/ruakij/forceServer/listener/PostLogin.java +++ b/src/eu/ruekov/ruakij/forceServer/listener/PostLogin.java @@ -20,7 +20,7 @@ public class PostLogin implements Listener { // byUUID String forcedTargetServer = Main.forceServerByUUID.get(p.getUniqueId().toString()); // byName - if(forcedTargetServer == null) Main.forceServerByName.get(p.getName()); + if(forcedTargetServer == null) forcedTargetServer = Main.forceServerByName.get(p.getName()); // byPermission if(forcedTargetServer == null) { for(String permission : Main.forceServerByPermission.keySet()) {