forgot to remove that

This commit is contained in:
Xephi59 2015-07-15 18:29:25 +02:00
parent e9308bb231
commit 8037da0fa8

View File

@ -1,13 +1,11 @@
package fr.xephi.authme.task; package fr.xephi.authme.task;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import fr.xephi.authme.AuthMe; import fr.xephi.authme.AuthMe;
import fr.xephi.authme.cache.auth.PlayerCache; import fr.xephi.authme.cache.auth.PlayerCache;
import fr.xephi.authme.cache.backup.FileCache; import fr.xephi.authme.cache.backup.FileCache;
import fr.xephi.authme.listener.AuthMePlayerListener;
import fr.xephi.authme.settings.Messages; import fr.xephi.authme.settings.Messages;
public class TimeoutTask implements Runnable { public class TimeoutTask implements Runnable {
@ -34,7 +32,6 @@ public class TimeoutTask implements Runnable {
if (PlayerCache.getInstance().isAuthenticated(name)) if (PlayerCache.getInstance().isAuthenticated(name))
return; return;
final GameMode gm = AuthMePlayerListener.gameMode.get(name);
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() { Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
@Override @Override