mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 10:45:23 +01:00
Catch Error on join for outdated Essentials ...
This commit is contained in:
parent
25d125e483
commit
1815e428f6
@ -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;
|
||||
|
@ -571,6 +571,7 @@ public class AuthMePlayerListener implements Listener {
|
||||
try {
|
||||
plugin.ess.getUser(player.getName()).setSocialSpyEnabled(false);
|
||||
} catch (Exception e) {
|
||||
} catch (NoSuchMethodError e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user