booksaw / BetterTeams

Create teams to fight to be the best (Minecraft Plugin)
https://www.spigotmc.org/resources/better-teams.17129/
MIT License
63 stars 43 forks source link

[BUG] Placeholder API ( PAPI) not working correctly #484

Closed Iehu closed 11 months ago

Iehu commented 11 months ago

What is the bug?

use /papi parse me %betterteams_level% return -1

Expected Behaviour

return 1

How to Reproduce

Server: Paper 1.20 Plugins: Vault (CMI recompiled version), LuckPerm, PAPI, and Better Teams

Create a team Use /papi parse me %betterteams_level% It should return -1

Error message

-1

Output of /teama version

[16:15:06 INFO]: [BetterTeams] Storage Method: com.booksaw.betterTeams.team.storage.storageManager.SeparatedYamlStorageManager [16:15:06 INFO]: [BetterTeams] Minecraft Version: git-Paper-17 (MC: 1.20) [16:15:06 INFO]: [BetterTeams] Language Selected: messages [16:15:06 INFO]: [BetterTeams] Current plugin version: 4.7.1

Additional Information

No response

booksaw commented 11 months ago

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.