[trunk] trying to avoid IllegalAccess errors

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1139 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-04-06 01:02:31 +00:00
parent 2f1e22bfb3
commit eb39ae777b

View File

@ -50,7 +50,7 @@ public class Essentials extends JavaPlugin
public Essentials() throws IOException
{
loadClasses();
//loadClasses();
}
public static void ensureEnabled(Server server)
@ -59,11 +59,11 @@ public class Essentials extends JavaPlugin
Essentials ess = (Essentials)pm.getPlugin("Essentials");
if (!ess.isEnabled())
pm.enablePlugin(ess);
loadClasses();
//loadClasses();
}
@SuppressWarnings("CallToThreadDumpStack")
public static void loadClasses()
public static void disabledloadClasses()
{
final String[] classes = new String[]
{
@ -79,7 +79,8 @@ public class Essentials extends JavaPlugin
"EssentialsBlockListener",
"EssentialsBlockListener$1",
"EssentialsBlockListener$2",
"EssentialsPlayerListener"
"EssentialsPlayerListener",
"Backup"
};
try