mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 01:27:40 +01:00
[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:
parent
2f1e22bfb3
commit
eb39ae777b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user