Merge branch 'master' of github.com:MassiveCraft/Factions

This commit is contained in:
Brettflan 2011-09-30 20:30:54 -05:00
commit 9e73681125

View File

@ -233,7 +233,11 @@ public class FBaseCommand {
if (you.getRole().equals(Role.ADMIN)) {
i.sendMessage(Conf.colorSystem+"Only the faction admin can do that.");
} else if (i.getRole().equals(Role.MODERATOR)) {
if ( i == you ) {
return true; //Moderators can control themselves
} else {
i.sendMessage(Conf.colorSystem+"Moderators can't control each other...");
}
} else {
i.sendMessage(Conf.colorSystem+"You must be a faction moderator to do that.");
}