1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-28 00:40:05 +02:00

Another safety check

This commit is contained in:
snowleo
2011-11-25 14:02:40 +01:00
parent 7dad3578c9
commit cc155b145b

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