Open ghost opened 4 years ago
+1
+1
Hey, i just saw that you had the same Problem that i used to have, and it was annoying. But i managed to solve it!
Just download the Math Extension with the command /papi ecloud download Math Then just devide the Number of Mined blocks by 2 like the following : %math_{statistic_mine_block}/2% .
And thats basicaly it. It worked out for me, though im pretty sure not many people even know that something like that is possible. Have a great day!
This issue is still present as of today with the latest version of PlaceholderAPI and Statistic. Pretty annoying for me as I use a leaderboards plugin that makes use of this placeholder, but it counts double on the leaderboards.
This issue is still persistent.
Issue still active
Hey! So you might want to not have decimals in the number and have it so that the number also doesn't go into half when breaking things like grass or flowers, i found a solution.
Go Into the Placeholder's API .config file and follow what I do.
If you have the math expansion, this is what you should have: expansions: math: Disable-Warnings: false Rounding: half-top Decimals: 3 Debug: false
Make sure to make the decimals say 0 and the rounding to none, this is what it should now look like: expansions: math: Disable-Warnings: false Rounding: none Decimals: 0 Debug: false
Issue
The
%statistic_mine_block%
placeholder from the Statistic module reports twice the amount of mined blocks.Expected behaviour
The statistic will increment by one when a block is mined.
Actual behaviour
The statistic is incremented by two.
https://i.imgur.com/K4lrCdf.png <- Minecraft statistic page https://i.imgur.com/rFbFce9.png <- The placeholder (the second lore line)
How to reproduce