diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-25 14:02:40 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-25 14:02:40 +0100 |
commit | 3daf56c8bea5280c05c7791a700b84bb2abbddaf (patch) | |
tree | ec976c10045a1d82b362b4c1d32d82b3c6b5bacd | |
parent | 223028f306b0021f83de38d8a0770fdc82579d8c (diff) | |
download | Essentials-3daf56c8bea5280c05c7791a700b84bb2abbddaf.tar Essentials-3daf56c8bea5280c05c7791a700b84bb2abbddaf.tar.gz Essentials-3daf56c8bea5280c05c7791a700b84bb2abbddaf.tar.lz Essentials-3daf56c8bea5280c05c7791a700b84bb2abbddaf.tar.xz Essentials-3daf56c8bea5280c05c7791a700b84bb2abbddaf.zip |
Another safety check
-rw-r--r-- | Essentials/src/com/earth2me/essentials/AlternativeCommandsHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/AlternativeCommandsHandler.java b/Essentials/src/com/earth2me/essentials/AlternativeCommandsHandler.java index 5fc2e23de..a9291e629 100644 --- a/Essentials/src/com/earth2me/essentials/AlternativeCommandsHandler.java +++ b/Essentials/src/com/earth2me/essentials/AlternativeCommandsHandler.java @@ -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; } |