Silenced Java7Support

This commit is contained in:
Jaime Martinez Rincon 2017-02-11 13:28:36 +01:00
parent d03241e61e
commit 0b45ffa492

View File

@ -1,5 +1,6 @@
package me.jaimemartz.lobbybalancer;
import com.fasterxml.jackson.databind.ext.Java7Support;
import com.google.gson.Gson;
import me.jaimemartz.faucet.ConfigFactory;
import me.jaimemartz.lobbybalancer.commands.FallbackCommand;
@ -22,6 +23,7 @@ import org.inventivetalent.update.bungee.BungeeUpdater;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
public class LobbyBalancer extends Plugin {
public static final String USER_ID = "%%__USER__%%";
@ -94,6 +96,8 @@ public class LobbyBalancer extends Plugin {
}
}
Logger.getLogger(Java7Support.class.getName()).setLevel(Level.SEVERE);
if (ConfigEntries.GEOLOCATION_ENABLED.get()) {
try {
geolocationManager = new GeolocationManager(this);