mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 02:51:32 +01:00
[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:
parent
0da79dc120
commit
aab8c6878b
@ -356,7 +356,7 @@ public class Essentials extends JavaPlugin
|
|||||||
{
|
{
|
||||||
for (Plugin p : getServer().getPluginManager().getPlugins())
|
for (Plugin p : getServer().getPluginManager().getPlugins())
|
||||||
{
|
{
|
||||||
if (p == this)
|
if (p.getDescription().getMain().contains("com.earth2me.essentials"))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user