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

Satistic placeholders increasing by double the true value #18

Open
willbowden opened this issue Jul 2, 2020 · 2 comments
Open

Satistic placeholders increasing by double the true value #18

willbowden opened this issue Jul 2, 2020 · 2 comments

Comments

@willbowden
Copy link

Issue

What is the issue? Describe it like you would tell a friend.
I'm using the Statistic placeholders to track player stats in my spigot 1.16.1 server. However, when some statistics such as "blocks broken" and "items crafted" are increased, the value increases by double that of what happened. E.g I break 1 block, the scoreboard displaying the placeholder increases by 2 instead. I craft 4 wooden planks, the scoreboard increases by 8

Expected behaviour

What should PlaceholderAPI do?
Display the correct statistic.

Actual behaviour

What does PlaceholderAPI actually do?
Display the statistic as double the true value.

How to reproduce

What steps did you made, to get this bug?

  1. Use SimpleScore scoreboard plugin and display %statistic_mine_block% or %statistic_craft_item% on the scoreboard.
  2. Break a block or craft some items.
  3. Observe the scoreboard increase by double the correct amount.
@extendedclip extendedclip transferred this issue from PlaceholderAPI/PlaceholderAPI Jul 16, 2020
@Sikatsu
Copy link

Sikatsu commented Aug 13, 2020

Yeah, I also have this issue. Blocks mined and such go up by 2 rather then 1.

@derMiepz
Copy link

derMiepz commented Jan 2, 2021

Seems like there's no update regarding this issue, but I wanted to say that it's also happening when using statistic_mine_block in BungeeTabListPlus

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

No branches or pull requests

3 participants