cleanup + fix test crypts test on windows systems
This commit is contained in:
@@ -38,7 +38,6 @@ public class ProcessSyncPlayerLogin implements Runnable {
|
||||
private final String name;
|
||||
private final PlayerAuth auth;
|
||||
private final AuthMe plugin;
|
||||
private final DataSource database;
|
||||
private final PluginManager pm;
|
||||
private final JsonCache playerCache;
|
||||
private final NewSetting settings;
|
||||
@@ -54,7 +53,6 @@ public class ProcessSyncPlayerLogin implements Runnable {
|
||||
public ProcessSyncPlayerLogin(Player player, AuthMe plugin,
|
||||
DataSource database, NewSetting settings) {
|
||||
this.plugin = plugin;
|
||||
this.database = database;
|
||||
this.pm = plugin.getServer().getPluginManager();
|
||||
this.player = player;
|
||||
this.name = player.getName().toLowerCase();
|
||||
|
||||
@@ -84,7 +84,6 @@ public final class Settings {
|
||||
getMaxJoinPerIp;
|
||||
protected static FileConfiguration configFile;
|
||||
private static AuthMe plugin;
|
||||
private static Settings instance;
|
||||
|
||||
/**
|
||||
* Constructor for Settings.
|
||||
@@ -92,7 +91,6 @@ public final class Settings {
|
||||
* @param pl AuthMe
|
||||
*/
|
||||
public Settings(AuthMe pl) {
|
||||
instance = this;
|
||||
plugin = pl;
|
||||
configFile = plugin.getConfig();
|
||||
loadVariables();
|
||||
|
||||
@@ -2,15 +2,13 @@ package fr.xephi.authme.util;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
|
||||
/**
|
||||
*/
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public class Profiler {
|
||||
|
||||
/**
|
||||
* Defines the past time in milliseconds.
|
||||
*/
|
||||
private long time = 0;
|
||||
|
||||
/**
|
||||
* Defines the time in milliseconds the profiler last started at.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user