1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-25 07:30:56 +02:00

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