Minor cleanups

- Fix line length violations
- Add JavaDoc to some longer methods
- Remove unused imports
This commit is contained in:
ljacqu
2018-02-23 23:23:24 +01:00
parent 83e247afe9
commit 7864bb06ac
9 changed files with 21 additions and 6 deletions
@@ -79,7 +79,8 @@ public class TeleportationService implements Reloadable {
&& settings.getProperty(TELEPORT_UNAUTHED_TO_SPAWN)) {
final Location location = spawnLoader.getSpawnLocation(player);
SpawnTeleportEvent event = new SpawnTeleportEvent(player, location, playerCache.isAuthenticated(player.getName()));
SpawnTeleportEvent event = new SpawnTeleportEvent(player, location,
playerCache.isAuthenticated(player.getName()));
bukkitService.callEvent(event);
if(!isEventValid(event)) {
return null;