mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-10-29 23:09:38 +01:00
Another safety check
This commit is contained in:
parent
223028f306
commit
3daf56c8be
@ -44,7 +44,7 @@ public class AlternativeCommandsHandler
|
|||||||
{
|
{
|
||||||
reg = ess.getServer().getPluginCommand(pc.getName().toLowerCase(Locale.ENGLISH));
|
reg = ess.getServer().getPluginCommand(pc.getName().toLowerCase(Locale.ENGLISH));
|
||||||
}
|
}
|
||||||
if (reg == null)
|
if (reg == null || !reg.getPlugin().equals(plugin))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user