mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-07 04:38:03 +02: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.RegisteredServiceProvider;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
|
import com.avaje.ebean.enhance.asm.commons.Method;
|
||||||
import com.earth2me.essentials.Essentials;
|
import com.earth2me.essentials.Essentials;
|
||||||
import com.maxmind.geoip.LookupService;
|
import com.maxmind.geoip.LookupService;
|
||||||
import com.onarandombox.MultiverseCore.MultiverseCore;
|
import com.onarandombox.MultiverseCore.MultiverseCore;
|
||||||
|
@ -571,6 +571,7 @@ public class AuthMePlayerListener implements Listener {
|
|||||||
try {
|
try {
|
||||||
plugin.ess.getUser(player.getName()).setSocialSpyEnabled(false);
|
plugin.ess.getUser(player.getName()).setSocialSpyEnabled(false);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
} catch (NoSuchMethodError e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user