When creating a new scoreboard objective, it's possible for 'dummy' to neither show up in the criteria options or function as a valid scoreboard criterion. This bug does not affect objectives made prior to loading up the world, as they will stay in the world's data/scoreboard.dat file with 'dummy' still set as their criteria. This does affect datapacks greatly, as whenever the issue arises (which is occasional), datapacks are unable to recognise any functions with a /scoreboard objectives add <name> dummy
command in them.
Unchanged log file is attached as requested. I only noticed the issue about 30min into play.
Attachments
Comments 3
Thanks. This is the relevant stack trace:
[18:19:30] [Server-Worker-127/ERROR]: Couldn't load function at deathmanager:functions/init.mcfunction
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown criteria 'dummy'
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_211]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) [?:1.8.0_211]
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604) [?:1.8.0_211]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) [?:1.8.0_211]
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443) [?:1.8.0_211]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_211]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_211]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_211]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_211]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown criteria 'dummy'
at ca.a(SourceFile:67) ~[minecraft-19w34a-client.jar:?]
at sg.a(SourceFile:155) ~[minecraft-19w34a-client.jar:?]
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) ~[?:1.8.0_211]
... 6 more
This happened after reloading the data packs, suggesting that sometimes the loading of scoreboard criteria fails.
Hmm, I cannot reproduce this. After you've experienced this issue, could you please attach the
latest.log
file from[minecraft/logs|http://hopper.minecraft.net/help/guides/finding-minecraft-data-folder/]
? Thanks in advance!This issue has been temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki