Fix /top10 with offset

This commit is contained in:
UnknownShadow200 2017-04-28 10:01:09 +10:00
parent c61d9b9ef2
commit e7cf81b65f

View File

@ -119,7 +119,7 @@ namespace MCGalaxy.Commands {
int limit = 0;
string limitArg = args[args.Length - 1];
if (!CommandParser.GetInt(p, args[1], "Limit", ref limit, 1, 15)) return -1;
if (!CommandParser.GetInt(p, limitArg, "Limit", ref limit, 1, 15)) return -1;
return limit;
}