Improved JavaDocs code style, some minor improvements

This commit is contained in:
Tim Visée 2015-11-23 21:45:23 +01:00
parent f15eaae67f
commit b2db25d16c
2 changed files with 6 additions and 4 deletions

View File

@ -4,6 +4,8 @@
<option name="PER_PROJECT_SETTINGS">
<value>
<option name="LINE_SEPARATOR" value="&#10;" />
<option name="JD_ADD_BLANK_AFTER_PARM_COMMENTS" value="true" />
<option name="JD_ADD_BLANK_AFTER_RETURN" value="true" />
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>

View File

@ -788,12 +788,12 @@ public class AuthMe extends JavaPlugin {
return spawnLoc;
}
// Return the default spawnpoint of a world
// Return the default spawn point of a world
private Location getDefaultSpawn(World world) {
return world.getSpawnLocation();
}
// Return the multiverse spawnpoint of a world
// Return the multiverse spawn point of a world
private Location getMultiverseSpawn(World world) {
if (multiverse != null && Settings.multiverse) {
try {
@ -805,7 +805,7 @@ public class AuthMe extends JavaPlugin {
return null;
}
// Return the essentials spawnpoint
// Return the essentials spawn point
private Location getEssentialsSpawn() {
if (essentialsSpawn != null) {
return essentialsSpawn;
@ -813,7 +813,7 @@ public class AuthMe extends JavaPlugin {
return null;
}
// Return the authme soawnpoint
// Return the AuthMe spawn point
private Location getAuthMeSpawn(Player player) {
if ((!database.isAuthAvailable(player.getName().toLowerCase()) || !player.hasPlayedBefore()) && (Spawn.getInstance().getFirstSpawn() != null)) {
return Spawn.getInstance().getFirstSpawn();