mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
[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:
parent
d311fc126f
commit
8ac6f92250
@ -30,7 +30,6 @@ public class EssentialsTest extends TestCase
|
||||
public void testLoadClasses()
|
||||
{
|
||||
should("make all classes accessible");
|
||||
Essentials.loadClasses();
|
||||
try
|
||||
{
|
||||
ItemDb itemDb = null;
|
||||
|
@ -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)
|
||||
|
@ -25,7 +25,6 @@ public class EssentialsProtectBlockListener extends BlockListener
|
||||
|
||||
public EssentialsProtectBlockListener(EssentialsProtect parent)
|
||||
{
|
||||
Essentials.loadClasses();
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,6 @@ public class EssentialsProtectEntityListener extends EntityListener
|
||||
|
||||
public EssentialsProtectEntityListener(EssentialsProtect parent)
|
||||
{
|
||||
Essentials.loadClasses();
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,6 @@ public class EssentialsProtectPlayerListener extends PlayerListener
|
||||
|
||||
public EssentialsProtectPlayerListener(EssentialsProtect parent)
|
||||
{
|
||||
Essentials.loadClasses();
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user