diff options
-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; } |