Fixed byName not working

master
Ruakij 4 years ago
parent a075059739
commit 60693026ef

@ -20,7 +20,7 @@ public class PostLogin implements Listener {
// byUUID // byUUID
String forcedTargetServer = Main.forceServerByUUID.get(p.getUniqueId().toString()); String forcedTargetServer = Main.forceServerByUUID.get(p.getUniqueId().toString());
// byName // byName
if(forcedTargetServer == null) Main.forceServerByName.get(p.getName()); if(forcedTargetServer == null) forcedTargetServer = Main.forceServerByName.get(p.getName());
// byPermission // byPermission
if(forcedTargetServer == null) { if(forcedTargetServer == null) {
for(String permission : Main.forceServerByPermission.keySet()) { for(String permission : Main.forceServerByPermission.keySet()) {

Loading…
Cancel
Save