
IllegalFormatConversionException: d != java.lang.String
Closed this issue · 4 comments
What steps will reproduce the problem?
Player issued /confirm cmd
[21:46:29 INFO]: ... issued server command: /confirm
[21:46:29 WARN]: [Towny] An exception occurred when formatting translation '§b%s için %d %s satın aldı.' for {key=msg_buy,locale=tr_TR,args=[5, bonus kasaba blokları, $125,00]}, see the below error for more details
java.util.IllegalFormatConversionException: d != java.lang.String
at java.base/java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4515) ~[?:?]
at java.base/java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:3066) ~[?:?]
at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:3021) ~[?:?]
at java.base/java.util.Formatter.format(Formatter.java:2791) ~[?:?]
at java.base/java.util.Formatter.format(Formatter.java:2728) ~[?:?]
at java.base/java.lang.String.format(String.java:4390) ~[?:?]
at Towny.jar/com.palmergames.bukkit.towny.object.Translation.of(Translation.java:161) ~[Towny.jar:?]
at Towny.jar/com.palmergames.bukkit.towny.object.Translatable.translate(Translatable.java:136) ~[Towny.jar:?]
at Towny.jar/com.palmergames.bukkit.towny.TownyMessaging.sendMsg(TownyMessaging.java:830) ~[Towny.jar:?]
at Towny.jar/com.palmergames.bukkit.towny.command.TownCommand.lambda$townBuyBonusTownBlocks$17(TownCommand.java:2468) ~[Towny.jar:?]
at Towny.jar/com.palmergames.bukkit.towny.scheduling.TaskScheduler.lambda$run$1(TaskScheduler.java:82) ~[Towny.jar:?]
at Towny.jar/com.palmergames.bukkit.towny.scheduling.impl.FoliaTaskScheduler.lambda$run$0(FoliaTaskScheduler.java:59) ~[Towny.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaEntityScheduler$EntityScheduledTask.accept(FoliaEntityScheduler.java:168) ~[sakura-1.21.4.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaEntityScheduler$EntityScheduledTask.accept(FoliaEntityScheduler.java:115) ~[sakura-1.21.4.jar:?]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:190) ~[sakura-1.21.4.jar:1.21.4-DEV-519ab29]
at net.minecraft.server.MinecraftServer.lambda$tickChildren$20(MinecraftServer.java:1697) ~[sakura-1.21.4.jar:1.21.4-DEV-519ab29]
at java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:833) ~[?:?]
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1680) ~[sakura-1.21.4.jar:1.21.4-DEV-519ab29]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1547) ~[sakura-1.21.4.jar:1.21.4-DEV-519ab29]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1268) ~[sakura-1.21.4.jar:1.21.4-DEV-519ab29]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:311) ~[sakura-1.21.4.jar:1.21.4-DEV-519ab29]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
What is the expected output?
N/A
Towny version
Towny version 0.101.1.14
Server version
PaperSpigot 1.21.4
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log: N/A
- Your Towny config.yml: https://pastebin.com/miXavLVE
- Your townyperms.yml: https://pastebin.com/3aW17Xtq
- Your log's error:
(optional) If this is to do with permissions,
5. Your permissions file:
(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:
There was an error in the translation on the crowdin page, this has been removed now.