Update FRelationCommand.java

This commit is contained in:
Drc-DEV
2019-02-17 19:16:21 +01:00
committed by GitHub
parent 3b7cdbdae3
commit b7acf7e62e

View File

@@ -110,7 +110,7 @@ public abstract class FRelationCommand extends FCommand {
msg(TL.COMMAND_RELATIONS_EXCEEDS_ME, max, targetRelation.getPluralTranslation());
return true;
}
if (them.getRelationCount(targetRelation) > max) {
if (them.getRelationCount(targetRelation) >= max) {
msg(TL.COMMAND_RELATIONS_EXCEEDS_THEY, max, targetRelation.getPluralTranslation());
return true;
}