Dungeon Crawl

Dungeon Crawl

51M Downloads

Null Multipart Model Data Instance

WenXin20 opened this issue ยท 0 comments

commented

Minecraft v1.15.2
Forge v31.2.45
Dungeon Crawl v2.2.0

When loading a world on my server, the world refuses to load due to a multipart model data instance that is null.

Error Log (Click here)
[13Nov2020 18:29:23.525] [Server thread/INFO] [Dungeon Crawl/]: Loading data...
[13Nov2020 18:29:24.377] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Failed to reload data packs
java.util.concurrent.ExecutionException: java.lang.RuntimeException: A multipart model data instance does neither have a valid model key nor a valid model id. Model key: corridor/multipart/corridor_default, Model id: null
  at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) ~[?:1.8.0_265]
  at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) ~[?:1.8.0_265]
  at net.minecraft.server.MinecraftServer.func_195568_a(MinecraftServer.java:1467) [?:?]
  at net.minecraft.server.MinecraftServer.func_195560_a(MinecraftServer.java:450) [?:?]
  at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:363) [?:?]
  at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:212) [?:?]
  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:613) [?:?]
  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
Caused by: java.lang.RuntimeException: A multipart model data instance does neither have a valid model key nor a valid model id. Model key: corridor/multipart/corridor_default, Model id: null
  at xiroc.dungeoncrawl.dungeon.model.MultipartModelData.updateReference(MultipartModelData.java:90) ~[?:2.2.0]
  at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_265]
  at xiroc.dungeoncrawl.dungeon.model.DungeonModels.load(DungeonModels.java:211) ~[?:2.2.0]
  at xiroc.dungeoncrawl.util.DataReloadListener.reload(DataReloadListener.java:43) ~[?:2.2.0]
  at xiroc.dungeoncrawl.util.DataReloadListener.lambda$reload$0(DataReloadListener.java:61) ~[?:2.2.0]
  at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:719) ~[?:1.8.0_265]
  at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:701) ~[?:1.8.0_265]
  at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_265]
  at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?]
  at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18) ~[?:?]
  at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?]
  at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?]
  at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:731) ~[?:?]
  at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:141) ~[?:?]
  at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?]
  at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:714) ~[?:?]
  at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:708) ~[?:?]
  at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?]
  at net.minecraft.server.MinecraftServer.func_195568_a(MinecraftServer.java:1464) ~[?:?]
  ... 5 more