Skip to content

Satistic placeholders increasing by double the true value #18

Open
@willbowden

Description

@willbowden

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions