mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Another safety check
This commit is contained in:
parent
223028f306
commit
3daf56c8be
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue