Catch Error on join for outdated Essentials ...

This commit is contained in:
Xephi 2014-09-14 23:27:35 +02:00
parent 25d125e483
commit 1815e428f6
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;
import com.avaje.ebean.enhance.asm.commons.Method;
import com.earth2me.essentials.Essentials;
import com.maxmind.geoip.LookupService;
import com.onarandombox.MultiverseCore.MultiverseCore;

View File

@ -571,6 +571,7 @@ public class AuthMePlayerListener implements Listener {
try {
plugin.ess.getUser(player.getName()).setSocialSpyEnabled(false);
} catch (Exception e) {
} catch (NoSuchMethodError e) {
}
}