Improved Mobs (Forge)

Improved Mobs (Forge)

8M Downloads

Crash with spider 2.0

hasuu opened this issue ยท 1 comments

commented

Modloader

Forge

Minecraft version

1.12.2

Modloader version

1.12.2-forge-14.23.5.2859

Mod version

1.6.10 improved mobs and 1.0.2 with spiders 2.0

TenshiLib version

1.2.4

Description

Instant crash with spiders 2.0
crash-2022-05-17_13.38.30-server.txt

Steps to reproduce

  1. Spawn spider

Mods that might affect the issue

Spider 2.0

Logs

https://gist.github.com/hasuu/d0d2b74c11305266c2d02f833388c5e1

commented

I think mine is related to this too. I have seen this issue with Improved mobs installed more than a few times:

[13:39:38] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Exception ticking world
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) ~[client-intermediary.jar:?]
at net.minecraft.class_1132.method_3748(class_1132.java:98) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[client-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.forEach(java.util.function.Consumer)" because "currentEnchantments" is null
at net.minecraft.class_1890.handler$foj000$getPossibleEntriesMixin(class_1890.java:4047) ~[client-intermediary.jar:?]
at net.minecraft.class_1890.method_8229(class_1890.java) ~[client-intermediary.jar:?]
at net.minecraft.class_1890.method_8230(class_1890.java:365) ~[client-intermediary.jar:?]
at net.minecraft.class_1890.method_8233(class_1890.java:323) ~[client-intermediary.jar:?]
at io.github.flemmli97.improvedmobs.utils.Utils.enchantGear(Utils.java:107) ~[improvedmobs-1.19-1.10.16-fabric.jar:?]
at io.github.flemmli97.improvedmobs.events.EventCalls.applyAttributesAndItems(EventCalls.java:218) ~[improvedmobs-1.19-1.10.16-fabric.jar:?]
at io.github.flemmli97.improvedmobs.events.EventCalls.onEntityLoad(EventCalls.java:149) ~[improvedmobs-1.19-1.10.16-fabric.jar:?]
at io.github.flemmli97.improvedmobs.fabric.events.EventHandler.onEntityLoad(EventHandler.java:51) ~[improvedmobs-1.19-1.10.16-fabric.jar:?]
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerEntityEvents.lambda$static$0(ServerEntityEvents.java:45) ~[fabric-lifecycle-events-v1-2.2.0+33ffe9ec90-744945a7660dbb5.jar:?]
at net.minecraft.class_3218$class_5526.handler$dmh000$invokeEntityLoadEvent(class_3218.java:1698) ~[client-intermediary.jar:?]
at net.minecraft.class_3218$class_5526.method_31436(class_3218.java:1579) ~[client-intermediary.jar:?]
at net.minecraft.class_3218$class_5526.method_31798(class_3218.java:1538) ~[client-intermediary.jar:?]
at net.minecraft.class_5579.method_31847(class_5579.java:217) ~[client-intermediary.jar:?]
at net.minecraft.class_5579.method_31820(class_5579.java:187) ~[client-intermediary.jar:?]
at net.minecraft.class_5579.method_31818(class_5579.java:168) ~[client-intermediary.jar:?]
at net.minecraft.class_3218.method_14175(class_3218.java:865) ~[client-intermediary.jar:?]
at net.minecraft.class_3218.method_8649(class_3218.java:816) ~[client-intermediary.jar:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at net.minecraft.class_5425.method_30771(class_5425.java:11) ~[client-intermediary.jar:?]
at net.minecraft.class_1948.method_24930(class_1948.java:299) ~[client-intermediary.jar:?]
at net.minecraft.class_1948.method_8663(class_1948.java:212) ~[client-intermediary.jar:?]
at net.minecraft.class_1948.method_27821(class_1948.java:200) ~[client-intermediary.jar:?]
at net.minecraft.class_3215.method_14161(class_3215.java:376) ~[client-intermediary.jar:?]
at net.minecraft.class_3215.method_12127(class_3215.java:323) ~[client-intermediary.jar:?]
at net.minecraft.class_3218.method_18765(class_3218.java:319) ~[client-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) ~[client-intermediary.jar:?]
... 5 more