=Fixed Bug#7 Tagging multiple people using !trade results in wrong error

Fixed, added check for multiple users being tagged.
This commit is contained in:
Alex Stewart
2020-03-27 03:08:44 -04:00
parent 39abf08b35
commit b917a3b4ee
2 changed files with 6 additions and 0 deletions
@@ -25,6 +25,11 @@ public class CommandTradeBeans extends Command
res.send(LocStrings.stub("TradeBeansNoTargetError"));
return;
}
if(input.mentions.length > 1)
{
res.send(LocStrings.stub("TradeBeansMultipleUsersTagged"));
return;
}
int beans = 0;