Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statz-1.4 PlaceholderAPI Expansion-1.0.6 Error #148

Open
ArifErdoganK opened this issue Sep 7, 2023 · 0 comments
Open

Statz-1.4 PlaceholderAPI Expansion-1.0.6 Error #148

ArifErdoganK opened this issue Sep 7, 2023 · 0 comments

Comments

@ArifErdoganK
Copy link

There's an issue with Statz 1.4 version related to the '%statz_time_hour%' placeholder expansion in Statz 1.0.6, which is causing errors for newly joined members on the server. The placeholder works for some players but gives errors for others. How can we resolve this?

Error:
>papi parse Yavrek %statz_time_hour% [15:32:52 WARN]: Unexpected exception while parsing console command "papi parse Yavrek %statz_time_hour%" org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.11.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.8.8.jar:git-PaperSpigot-445] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[patched_1.8.8.jar:git-PaperSpigot-445] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched_1.8.8.jar:git-PaperSpigot-445] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:629) [patched_1.8.8.jar:git-PaperSpigot-445] at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:416) [patched_1.8.8.jar:git-PaperSpigot-445] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:379) [patched_1.8.8.jar:git-PaperSpigot-445] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched_1.8.8.jar:git-PaperSpigot-445] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched_1.8.8.jar:git-PaperSpigot-445] at java.lang.Thread.run(Thread.java:829) [?:?] Caused by: java.util.IllegalFormatConversionException: f != java.lang.String at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4426) ~[?:?] at java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2951) ~[?:?] at java.util.Formatter$FormatSpecifier.print(Formatter.java:2898) ~[?:?] at java.util.Formatter.format(Formatter.java:2673) ~[?:?] at java.util.Formatter.format(Formatter.java:2609) ~[?:?] at java.lang.String.format(String.java:2938) ~[?:?] at biz.aaronsworld.StatzExpansion.onRequest(StatzExpansion.java:218) ~[?:?] at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[?:?] at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[?:?] at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluateParseSingular(CommandParse.java:118) ~[?:?] at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluate(CommandParse.java:58) ~[?:?] at me.clip.placeholderapi.commands.PlaceholderCommandRouter.onCommand(PlaceholderCommandRouter.java:114) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.8.8.jar:git-PaperSpigot-445] ... 8 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant