From 3cdec91255e10a47b7d63e07059000a8d5e1e627 Mon Sep 17 00:00:00 2001 From: ljacqu Date: Sun, 12 Jun 2016 12:48:32 +0200 Subject: [PATCH] Do not teleport unregistered player if registration is optional --- .../java/fr/xephi/authme/process/join/AsynchronousJoin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java b/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java index d56649b45..591fa9b75 100644 --- a/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java +++ b/src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java @@ -154,13 +154,13 @@ public class AsynchronousJoin implements AsynchronousProcess { // Groups logic Utils.setGroup(player, GroupType.UNREGISTERED); - teleportationService.teleportOnJoin(player); // Skip if registration is optional if (!service.getProperty(RegistrationSettings.FORCE)) { return; } + teleportationService.teleportOnJoin(player); } // The user is not logged in