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

Fixes /tag clearall #2134

Closed
wants to merge 3 commits into from
Closed

Fixes /tag clearall #2134

wants to merge 3 commits into from

Conversation

xensace
Copy link

@xensace xensace commented Dec 5, 2017

@Focusvity
Copy link

That doesn't solve the issue.

if (playerdata.getTag() != null)
{
count++;
playerdata.setTag(null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting a tag to null sounds like a really really bad idea...

{
count++;
playerdata.setTag(null);
// Give the admin their default tag
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You never increment the counter, you probably want a player and admin counter if you were to do something like this.

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

Successfully merging this pull request may close these issues.

4 participants