mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Fix /top10 with offset
This commit is contained in:
parent
c61d9b9ef2
commit
e7cf81b65f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user