Draylar / battle-towers

Populates the world with large towers filled with monsters and loot.
https://www.curseforge.com/minecraft/mc-mods/draylars-battle-towers
MIT License
7 stars 8 forks source link

Crash with tower guardian leap attack #59

Closed Draylar closed 2 years ago

BrekiTomasson commented 3 years ago

Assuming this is the same error. Just encountered this today:

[04:21:31] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Ticking entity
    at Not Enough Crashes deobfuscated stack trace.(1.17.1+build.61) ~[?:?]
    at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:895) ~[intermediary-1.17.1.jar:?]
    at net.minecraft.server.dedicated.MinecraftDedicatedServer.tickWorlds(MinecraftDedicatedServer:335) ~[?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer:831) ~[intermediary-1.17.1.jar:?]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:697) [intermediary-1.17.1.jar:?]
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:270) [intermediary-1.17.1.jar:?]
    at net.minecraft.server.MinecraftServer$$Lambda$7570/0x0000000078bff038.run(Unknown Source) [intermediary-1.17.1.jar:?]
    at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1309.method_19538()" because the return value of "draylar.battletowers.entity.TowerGuardianEntity.method_5968()" is null
    at draylar.battletowers.entity.ai.GuardianSlamGoal.tick(GuardianSlamGoal.java:32) ~[battle-towers-613e2295-806ed.jar:?]
    at net.minecraft.entity.ai.goal.PrioritizedGoal.tick(PrioritizedGoal:55) ~[?:?]
    at net.minecraft.entity.ai.goal.GoalSelector.tickGoals(GoalSelector:657) ~[?:?]
    at net.minecraft.entity.ai.goal.GoalSelector.tick(GoalSelector:556) ~[?:?]
    at net.minecraft.entity.mob.MobEntity.tickNewAi(MobEntity:733) ~[?:?]
    at net.minecraft.entity.LivingEntity.tickMovement(LivingEntity:2601) ~[?:?]
    at net.minecraft.entity.mob.MobEntity.tickMovement(MobEntity:539) ~[?:?]
    at net.minecraft.entity.mob.HostileEntity.tickMovement(HostileEntity:43) ~[?:?]
    at net.minecraft.entity.LivingEntity.tick(LivingEntity:2346) ~[?:?]
    at net.minecraft.entity.mob.MobEntity.tick(MobEntity:339) ~[?:?]
    at net.minecraft.server.world.ServerWorld.tickEntity(ServerWorld:655) ~[?:?]
    at net.minecraft.class_3218$$Lambda$8307/0x0000000070e00288.accept(Unknown Source) ~[?:?]
    at net.minecraft.world.World.tickEntity(World:483) ~[?:?]
    at net.minecraft.server.world.ServerWorld.method_31420(ServerWorld:417) ~[?:?]
    at net.minecraft.class_3218$$Lambda$8253/0x00000000b0300b40.accept(Unknown Source) ~[?:?]
    at net.minecraft.world.EntityList.forEach(EntityList:54) ~[?:?]
    at net.minecraft.server.world.ServerWorld.tick(ServerWorld:392) ~[?:?]
    at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:891) ~[intermediary-1.17.1.jar:?]
    ... 6 more