mojira.dev
MC-80826

achievement command works unreliable with statistics

Fixed by restricting the /achievement command to work only on achievements.

The command /achievement works for statistics and achievements. It might make sense for achievements, but doesn't for statistics as it acts this way:

  • /achievement give stat.leaveGame: increases the stat by 1

  • /achievement take stat.leaveGame: reset the stat completely

This way the command has no real use.

And it also doesn't update the statistics then immediately (see also MC-55775), which seems to be a general statistics problem.

Related issues

Comments

marcono1234

Probably invalid because of Searge's comment on MC-63420

michael

Fixed by restricting the /achievement command to work only on achievements.

marcono1234

The syntax help and error message(s) are not updated:

[Client thread/INFO]: [CHAT] Unknown achievement or statistic 'stat.useItem.minecraft.stone'
[Client thread/INFO]: [CHAT] Usage: /achievement <give|take> <stat_name|*> [player]

marcono1234

Can you please reopen the report or should I create a new report for this?

migrated

I'd say make a new report, as this is not the same issue.

marcono1234

It is now MC-96670

marcono1234

michael

Unconfirmed

/achievement, statistics

Minecraft 1.8.6, Minecraft 15w44b

Minecraft 16w03a

Retrieved