Fix Max-Relation bug
This commit is contained in:
parent
707b7796c6
commit
86bc78d082
@ -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