summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-16 13:38:02 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-16 13:38:02 +0000
commit8ac6f92250bb3dbbe307bb9acd5368a722a62f2b (patch)
tree9db144781769a3a3ca0a674e9fbddce304830d8e
parentd311fc126ff1cadc75c7a5ac5866ab4298ac34e1 (diff)
downloadEssentials-8ac6f92250bb3dbbe307bb9acd5368a722a62f2b.tar
Essentials-8ac6f92250bb3dbbe307bb9acd5368a722a62f2b.tar.gz
Essentials-8ac6f92250bb3dbbe307bb9acd5368a722a62f2b.tar.lz
Essentials-8ac6f92250bb3dbbe307bb9acd5368a722a62f2b.tar.xz
Essentials-8ac6f92250bb3dbbe307bb9acd5368a722a62f2b.zip
[trunk] Removed useless loadClasses() method from Essentials.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1216 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/test/com/earth2me/essentials/EssentialsTest.java1
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java3
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java1
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java1
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java1
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java1
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java2
7 files changed, 0 insertions, 10 deletions
diff --git a/Essentials/test/com/earth2me/essentials/EssentialsTest.java b/Essentials/test/com/earth2me/essentials/EssentialsTest.java
index da98978df..8d28fa5d7 100644
--- a/Essentials/test/com/earth2me/essentials/EssentialsTest.java
+++ b/Essentials/test/com/earth2me/essentials/EssentialsTest.java
@@ -30,7 +30,6 @@ public class EssentialsTest extends TestCase
public void testLoadClasses()
{
should("make all classes accessible");
- Essentials.loadClasses();
try
{
ItemDb itemDb = null;
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
index 225c67cb4..d3dff8538 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
@@ -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)
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java
index 642d6c54b..ab38761d1 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java
@@ -25,7 +25,6 @@ public class EssentialsProtectBlockListener extends BlockListener
public EssentialsProtectBlockListener(EssentialsProtect parent)
{
- Essentials.loadClasses();
this.parent = parent;
}
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
index 6a1c8aa38..ee47941eb 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
@@ -37,7 +37,6 @@ public class EssentialsProtectEntityListener extends EntityListener
public EssentialsProtectEntityListener(EssentialsProtect parent)
{
- Essentials.loadClasses();
this.parent = parent;
}
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
index c3eff1803..d38e89760 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
@@ -19,7 +19,6 @@ public class EssentialsProtectPlayerListener extends PlayerListener
public EssentialsProtectPlayerListener(EssentialsProtect parent)
{
- Essentials.loadClasses();
this.parent = parent;
}
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
index 54e6bd198..609bf66cf 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java
@@ -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);
}
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
index 697939daa..0b670090a 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
@@ -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;