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

Placeholder statistic_mine_block gets increased by ~593 instead of 1 #4033

Closed
MattDeWeerd opened this issue Feb 24, 2024 · 1 comment
Closed
Labels
Bug: Confirmed This is a bug and has been confirmed as so.

Comments

@MattDeWeerd
Copy link

Describe the bug

It seems that when the enchant Smelting is on a pickaxe, the statistic placeholder for statistic_mine_block gets increased by ~593 instead of 1.

smelting:
  display: '%group-color%Smelting'
  description: Chance to smelt mined blocks.
  applies-to: Pickaxes
  type: MINING
  group: SIMPLE
  applies:
    - ALL_PICKAXE
    - ALL_SHOVEL
  levels:
    '1':
      chance: 33
      effects:
        - SMELT
    '2':
      chance: 66
      effects:
        - SMELT
    '3':
      chance: 100
      effects:
        - SMELT

How to reproduce

  1. Check your statistic by running: /papi parse me %statistic_mine_block%
  2. Give yourself a pickaxe and enchant it with any level of smelting
  3. Mine a block
  4. Check your statistic again by by running: /papi parse me %statistic_mine_block%

The value returned will be much larger than expected

Screenshots / Videos

https://medal.tv/games/minecraft/clips/1X8s3TCz1A1oSA/d1337UegU4Tn?invite=cr-MSxKSmosMjQxMDY3Njgs

"/ae plinfo" link

https://paste.md-5.net/egalubuwib

Server Log

No response

@MattDeWeerd MattDeWeerd added the Bug: Unconfirmed This could possibly be a bug, but it hasn't been confirmed yet. label Feb 24, 2024
@SirJben SirJben added Bug: Confirmed This is a bug and has been confirmed as so. and removed Bug: Unconfirmed This could possibly be a bug, but it hasn't been confirmed yet. labels Feb 24, 2024
@ThomasWega
Copy link
Collaborator

the extension might have some issues on it's own. I am not saying this is not our issue, but we'd first like this to get sorted out.
PlaceholderAPI/Statistics-Expansion#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed This is a bug and has been confirmed as so.
Projects
None yet
Development

No branches or pull requests

3 participants