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

Prevent accidentally resetting all quests by default #272

Open
wants to merge 1 commit into
base: 1.10
Choose a base branch
from
Open

Prevent accidentally resetting all quests by default #272

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 21, 2017

If no username is specified for the reset command, don't assume it's to reset everybody, this could lead to some very bad cases.

Instead, detect if the username is "all", to reset all, otherwise throw a SyntaxErrorException to remind the username what to use.

If no username is specified for the reset command, don't assume it's to reset everybody, this could lead to some very bad cases.

Instead, detect if the username is "all", to reset all, otherwise throw a SyntaxErrorException to remind the username what to use.
@Insane96
Copy link

There might be a player that's called all? Wouldn't be better using *?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants