Archers' Arsenal

Archers' Arsenal

250k Downloads

Error on Forge 1.18.2

pavog opened this issue ยท 1 comments

commented

I'm on Forge 1.18.2 and I get this error message on startup.
Forge 1.18.2 (Forge Version 40.1.0) with archarsenal-1.18.2-1.0.jar (uploaded Apr 25, 2022 Game Version 1.18.2) and
knightcore-1.18.2-1.0.jar (uploaded Apr 24, 2022, Game Version 1.18.2).

Although everything seems to work. But I think something is still wrong. See this error:

[13May2022 16:25:20.944] [Worker-Main-7/ERROR] [net.minecraftforge.common.loot.LootModifierManager/]: Couldn't parse loot modifier archarsenal:arrows_in_village_fletcher
--
25 | java.lang.NullPointerException: Cannot invoke "net.minecraftforge.common.loot.GlobalLootModifierSerializer.read(net.minecraft.resources.ResourceLocation, com.google.gson.JsonObject, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[])" because the return value of "net.minecraftforge.registries.IForgeRegistry.getValue(net.minecraft.resources.ResourceLocation)" is null
26 | at net.minecraftforge.common.loot.LootModifierManager.deserializeModifier(LootModifierManager.java:119) ~[forge-1.18.2-40.1.0-universal.jar%2345!/:?]
27 | at net.minecraftforge.common.loot.LootModifierManager.lambda$apply$0(LootModifierManager.java:101) ~[forge-1.18.2-40.1.0-universal.jar%2345!/:?]
28 | at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
29 | at net.minecraftforge.common.loot.LootModifierManager.apply(LootModifierManager.java:99) ~[forge-1.18.2-40.1.0-universal.jar%2345!/:?]
30 | at net.minecraftforge.common.loot.LootModifierManager.m_5787_(LootModifierManager.java:40) ~[forge-1.18.2-40.1.0-universal.jar%2345!/:?]
31 | at net.minecraft.server.packs.resources.SimplePreparableReloadListener.m_10789_(SimplePreparableReloadListener.java:13) ~[server-1.18.2-20220404.173914-srg.jar%2341!/:?]
32 | at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
33 | at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
34 | at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[server-1.18.2-20220404.173914-srg.jar%2341!/:?]
35 | at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[server-1.18.2-20220404.173914-srg.jar%2341!/:?]
36 | at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) ~[?:?]
37 | at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
38 | at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
39 | at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
40 | at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726) ~[?:?]
41 | at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
42 | at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[server-1.18.2-20220404.173914-srg.jar%2341!/:?]
43 | at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SimpleReloadInstance.java:68) ~[server-1.18.2-20220404.173914-srg.jar%2341!/:?]
44 | at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572) [?:?]
45 | at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) [?:?]
46 | at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) [?:?]
47 | at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) [?:?]
48 | at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?]
49 | at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
50 | at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
51 | at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
52 | at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
53 | at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]

Full log:
https://mclo.gs/luf8Z0Z

commented

Forge 1.18.2 version working successfully at last test.