Update FRelationCommand.java
This commit is contained in:
parent
3b7cdbdae3
commit
b7acf7e62e
@ -110,7 +110,7 @@ public abstract class FRelationCommand extends FCommand {
|
|||||||
msg(TL.COMMAND_RELATIONS_EXCEEDS_ME, max, targetRelation.getPluralTranslation());
|
msg(TL.COMMAND_RELATIONS_EXCEEDS_ME, max, targetRelation.getPluralTranslation());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (them.getRelationCount(targetRelation) > max) {
|
if (them.getRelationCount(targetRelation) >= max) {
|
||||||
msg(TL.COMMAND_RELATIONS_EXCEEDS_THEY, max, targetRelation.getPluralTranslation());
|
msg(TL.COMMAND_RELATIONS_EXCEEDS_THEY, max, targetRelation.getPluralTranslation());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user