Math placeholderapi not working
Askarionn opened this issue ยท 6 comments
Confirmation
- I have read the FAQ.
- I have tested the latest development build of Holographic Displays and the bug is still present.
- I have updated Spigot to the latest release for my particular Minecraft version.
- I made sure the bug hasn't already been reported on the issue tracker.
Description
test:
lines:
- Default hologram. Change it with &b/holo edit test
- '%math_{bungee_lobby1}+{bungee_sz02}+{bungee_sz03}+{bungee_sz04}+{bungee_ss01}%'
- '%bungee_lobby1%'
- '%math_{bungee_lobby1}+{bungee_lobby1%%'
- '%math_{bungee_lobby1}+{bungee_lobby1}%'
position:
world: world
x: 13.74671894145164
y: 20.2
z: -140.592181791763
How to reproduce
- create hologram
- use a math placeholder
Server version
This server is running vanilla version git-NachoSpigot-"be07467" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT)
Holographic Displays version
HolographicDisplays version 3.0.0-SNAPSHOT
Installed plugins that allow players to join with multiple Minecraft versions
ViaVersion, ProtocolLib
Additional information
No response
@Thin-Troll Yes it changed for all placeholders from PlaceholderAPI.
the "1" in hologram is the placeholder %bungee_lobby1%, so bungee placeholders and any other placeholders are working, i also do /papi parse me %math_{bungee_lobby1}+{bungee_sz02}+{bungee_sz03}+{bungee_sz04}+{bungee_ss01}% and the placeholder it's working (i tested in other plugins such as DeluxeMenus). The problem is only when i use it on HolographicDisplays
The problem is the nested placeholder that uses the same delimiters as Holographic Displays ({
and }
). I will need to either find a workaround or add escapes (\
before each nested delimiter), but it's not a pretty solution.
I just added a solution in the latest build, you have to use the escape character \
. A correct example would be
{papi: math_\{bungee_lobby1\}+\{bungee_lobby1\}}