diff options
author | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-27 21:34:30 +0000 |
---|---|---|
committer | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-27 21:34:30 +0000 |
commit | aab8c6878bd039420424a60e2bdfb1625e8f0373 (patch) | |
tree | 5384b10d42d14fadde30451b86dbab6056da67d3 | |
parent | 0da79dc12012244f89e793db0923556bb96e2e38 (diff) | |
download | Essentials-aab8c6878bd039420424a60e2bdfb1625e8f0373.tar Essentials-aab8c6878bd039420424a60e2bdfb1625e8f0373.tar.gz Essentials-aab8c6878bd039420424a60e2bdfb1625e8f0373.tar.lz Essentials-aab8c6878bd039420424a60e2bdfb1625e8f0373.tar.xz Essentials-aab8c6878bd039420424a60e2bdfb1625e8f0373.zip |
[trunk] fix /spawn issue.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1541 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Essentials.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index 3c0a35bba..10cdbb51e 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -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; } |