diff --git a/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java b/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java index e2b8d039..169d2fab 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/RestrictionSettings.java @@ -50,11 +50,11 @@ public class RestrictionSettings implements SettingsClass { newProperty("settings.restrictions.ForceSingleSession", true); @Comment({ - "If enabled, every player will be teleported to the world spawnpoint", - "after successful authentication.", + "If enabled, every player that spawn in one of the world listed in \"ForceSpawnLocOnJoin.worlds\"", + "will be teleported to the spawnpoint after successful authentication.", "The quit location of the player will be overwritten.", "This is different from \"teleportUnAuthedToSpawn\" that teleport player", - "back to his quit location after the authentication."}) + "to the spawnpoint on join."}) public static final Property FORCE_SPAWN_LOCATION_AFTER_LOGIN = newProperty("settings.restrictions.ForceSpawnLocOnJoin.enabled", false); diff --git a/src/main/java/fr/xephi/authme/util/Utils.java b/src/main/java/fr/xephi/authme/util/Utils.java index 99008627..e75d02af 100644 --- a/src/main/java/fr/xephi/authme/util/Utils.java +++ b/src/main/java/fr/xephi/authme/util/Utils.java @@ -26,7 +26,7 @@ public final class Utils { // so we can have uuid support. try { return player.getUniqueId().toString(); - } catch (Exception ignore) { + } catch (NoSuchMethodError ignore) { return player.getName(); } }