mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-08-27 07:49:59 +02: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));
|
||||
}
|
||||
if (reg == null)
|
||||
if (reg == null || !reg.getPlugin().equals(plugin))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user