Use parse("player", Player, Player) to parse a player token. It will fail with a no such value exception, return null and return no text. This is because the relational placeholder failed - the non-relational one should be selected as a fallback at the very least.
SpongeAPI version: 7
PlaceholderAPI version: 4.4
Plugins installed: Nucleus 1.2.2, Nucleus Gluon 1.0.4 snapshot
Error log [if any]: (please use PasteBin or similar services to shorten error logs)
None - exception is swallowed in PAPI.
Description:
See https://github.com/NucleusPowered/Gluon/issues/2#issuecomment-359254637. API method
parse
will always select the relational placeholder if both options are available, causing problems with the%player(_*)%
placeholdersSteps to reproduce:
Use parse("player", Player, Player) to parse a player token. It will fail with a no such value exception, return null and return no text. This is because the relational placeholder failed - the non-relational one should be selected as a fallback at the very least.