mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Check if JDA is on the server. (#139)
This commit is contained in:
parent
c7e0a7a288
commit
7a4b044d45
@ -69,6 +69,11 @@ public class Discord extends FreedomService
|
|||||||
{
|
{
|
||||||
FLog.warning("Discord verification bot failed to start.");
|
FLog.warning("Discord verification bot failed to start.");
|
||||||
}
|
}
|
||||||
|
catch (NoClassDefFoundError e)
|
||||||
|
{
|
||||||
|
FLog.warning("The JDA plugin is not installed, therefore the bot cannot start.");
|
||||||
|
FLog.warning("To resolve this error, please download JDA from: https://github.com/TFPatches/Minecraft-JDA/releases");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user