Slimefun

Slimefun

3M Downloads

%slimefun_total_xp_levels_spent% placeholder didn't work.

variananora opened this issue ยท 1 comments

commented

๐Ÿ“ Description (REQUIRED)

%slimefun_total_xp_levels_spent% placeholder is not working supposedly.
image

๐Ÿ“‘ Steps to reproduce the Issue (REQUIRED)

  1. Use the placeholder (/papi parse me %slimefun_total_xp_levels_spent%)
  2. It will return the placeholder, not the value

๐Ÿ’ก Expected behavior (REQUIRED)

Returns the value of level spent on Slimefun

๐Ÿ“œ Server Log

There is no server log.

๐Ÿ“‚ /error-reports/ Folder

There is no server log.

๐Ÿงญ Environment (REQUIRED)

  • Server Software: Tuinity-4743c34
  • Minecraft Version: 1.16.4
  • Slimefun Version: RC-19
  • CS-CoreLib Version: vDEV-92
  • PlaceholderAPI Version: 2.10.10-DEV-122
    image
    image
commented

image
The wiki is wrong it supposed to be %slimefun_researches_total_xp_levels_spent%
According to https://github.com/Slimefun/Slimefun4/blob/2ced45b485c58639c95fb7dc2e9ff0feeb61d3ef/src/main/java/io/github/thebusybiscuit/slimefun4/integrations/PlaceholderAPIIntegration.java
if (isPlaceholder(p, true, params, "researches_total_xp_levels_spent")) {