the server closes by itself when I log in, here is the string that appears in the console when I log in
Exception caught during firing event: null
Index: 1
Listeners:
0: NORMAL
1: ASM: class maninhouse.epicfight.events.EntityEvents updateEvent(Lnet/minecraftforge/event/entity/living/LivingEvent$LivingUpdateEvent;)V
java.lang.NullPointerException
at net.minecraft.entity.ai.goal.PrioritizedGoal.hashCode(SourceFile:93)
at java.base/java.util.HashMap.hash(HashMap.java:339)
at java.base/java.util.HashMap.put(HashMap.java:607)
at java.base/java.util.HashSet.add(HashSet.java:220)
at net.minecraft.entity.ai.goal.GoalSelector.func_75776_a(SourceFile:46)
at maninhouse.epicfight.capabilities.entity.mob.EndermanData.convertRage(EndermanData.java:216)
at maninhouse.epicfight.capabilities.entity.mob.EndermanData.updateOnServer(EndermanData.java:118)
at maninhouse.epicfight.capabilities.entity.LivingData.update(LivingData.java:131)
at maninhouse.epicfight.capabilities.entity.mob.EndermanData.update(EndermanData.java:133)
at maninhouse.epicfight.events.EntityEvents.updateEvent(EntityEvents.java:101)
at net.minecraftforge.eventbus.ASMEventHandler_157_EntityEvents_updateEvent_LivingUpdateEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:348)
at net.minecraft.entity.LivingEntity.func_70071_h_(LivingEntity.java:2565)
at net.minecraft.entity.MobEntity.func_70071_h_(MobEntity.java:345)
at net.minecraft.world.server.ServerWorld.func_217479_a(ServerWorld.java:818)
at net.minecraft.world.World.func_217390_a(World.java:752)
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:566)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1032)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:945)
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:760)
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:834)
[15:41:07 FATAL]: Preparing crash report with UUID f1fd1d1d-c80b-4011-b15f-29a17c00dd7c
[15:41:07 ERROR]: Encountered an unexpected exception
[15:41:07 ERROR]: Cause of unexpected exception was
please help...
i have only 9 mods on the server and 2 plugins (i'm using mohist 1.16.5)