[trunk] Removed useless loadClasses() method from Essentials.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1216 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-04-16 13:38:02 +00:00
parent d311fc126f
commit 8ac6f92250
7 changed files with 0 additions and 10 deletions

View File

@ -30,7 +30,6 @@ public class EssentialsTest extends TestCase
public void testLoadClasses()
{
should("make all classes accessible");
Essentials.loadClasses();
try
{
ItemDb itemDb = null;

View File

@ -23,7 +23,6 @@ public class EssentialsChatPlayerListener extends PlayerListener
{
try
{
Essentials.loadClasses();
EssentialsChatWorker.onPlayerJoin(server, event);
}
catch (Throwable ex)
@ -38,7 +37,6 @@ public class EssentialsChatPlayerListener extends PlayerListener
{
try
{
Essentials.loadClasses();
EssentialsChatWorker.onPlayerRespawn(server, event);
}
catch (Throwable ex)
@ -53,7 +51,6 @@ public class EssentialsChatPlayerListener extends PlayerListener
{
try
{
Essentials.loadClasses();
EssentialsChatWorker.onPlayerChat(server, event);
}
catch (Throwable ex)

View File

@ -25,7 +25,6 @@ public class EssentialsProtectBlockListener extends BlockListener
public EssentialsProtectBlockListener(EssentialsProtect parent)
{
Essentials.loadClasses();
this.parent = parent;
}

View File

@ -37,7 +37,6 @@ public class EssentialsProtectEntityListener extends EntityListener
public EssentialsProtectEntityListener(EssentialsProtect parent)
{
Essentials.loadClasses();
this.parent = parent;
}

View File

@ -19,7 +19,6 @@ public class EssentialsProtectPlayerListener extends PlayerListener
public EssentialsProtectPlayerListener(EssentialsProtect parent)
{
Essentials.loadClasses();
this.parent = parent;
}

View File

@ -52,7 +52,6 @@ public class EssentialsSpawn extends JavaPlugin
{
try
{
Essentials.loadClasses();
Essentials.previewCommand(sender, command, commandLabel, args);
return EssentialsSpawnWorker.onCommand(sender, command, commandLabel, args);
}

View File

@ -14,7 +14,6 @@ public class EssentialsSpawnPlayerListener extends PlayerListener
@Override
public void onPlayerRespawn(PlayerRespawnEvent event)
{
Essentials.loadClasses();
User user = User.get(event.getPlayer());
try
@ -34,7 +33,6 @@ public class EssentialsSpawnPlayerListener extends PlayerListener
@Override
public void onPlayerJoin(PlayerJoinEvent event)
{
Essentials.loadClasses();
User user = User.get(event.getPlayer());
if (!user.isNew()) return;