Commit e7a3e825 authored by Melledy's avatar Melledy
Browse files

Fix small issue with command parsing

parent bca8ef34
......@@ -79,7 +79,7 @@ public class PlayerCommands {
return;
}
// Execute
int len = Math.min(first.length() + 1, msg.length());
int len = Math.min(split[0].length() + 1, msg.length());
cmd.execute(player, msg.substring(len));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment