Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken command [Remaining] attribute #251

Closed
Seb-stian opened this issue Mar 1, 2022 · 0 comments
Closed

Broken command [Remaining] attribute #251

Seb-stian opened this issue Mar 1, 2022 · 0 comments
Assignees
Labels
bug Something isn't working commands Relates to Obsidian.Commands priority: low Nice to have

Comments

@Seb-stian
Copy link
Member

When command is called with no arguments, command with method signature:

public void Command(CommandContext context, [Remaining] string args);

should work correctly with value of args being "" (an empty string).

Instead, IndexOutOfRangeException is thrown. Cause can be tracked down to somewhere around here.

@Seb-stian Seb-stian added bug Something isn't working commands Relates to Obsidian.Commands priority: low Nice to have labels Mar 1, 2022
@Naamloos Naamloos self-assigned this Mar 1, 2022
@Tides Tides moved this to Backlog in Obsidian Tracker Jan 21, 2024
@Tides Tides closed this as completed in 6efa497 Jan 22, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Obsidian Tracker Jan 22, 2024
Craftplacer pushed a commit that referenced this issue Feb 7, 2024
* Should fix #251

* Fixes #418

* Update Server.cs

* Disconnect players with a "Server closed" message when closing the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working commands Relates to Obsidian.Commands priority: low Nice to have
Projects
Status: Done
Development

No branches or pull requests

2 participants