[trunk] fix /spawn issue.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1541 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-05-27 21:34:30 +00:00
parent 0da79dc120
commit aab8c6878b

View File

@ -356,7 +356,7 @@ public class Essentials extends JavaPlugin
{
for (Plugin p : getServer().getPluginManager().getPlugins())
{
if (p == this)
if (p.getDescription().getMain().contains("com.earth2me.essentials"))
{
continue;
}