Another safety check

This commit is contained in:
snowleo 2011-11-25 14:02:40 +01:00
parent 223028f306
commit 3daf56c8be

View File

@ -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;
} }