Skip to content

Connection lost.聽#305

Description

@Dirmagnos

Issue type:

  • 馃悰 Bug

Short description:

During gameplay get "Connection Lost. Network Protocol Error" for some reason, despite playing SP game.

Steps to reproduce the problem:

Start new world, do stuff for ~5 minutes.

Expected behaviour:

I expected to continue playing.

Versions:

everlastingabilities-1.21.1-neoforge-2.5.4-300.jar
MC 1.21.1
neoforge-21.1.216

Log file:

disconnect-2025-12-06_22.21.06-client.txt

Activity

  1. rubensworks commented on Dec 6, 2025

    @rubensworks
    Member

    Thanks for reporting!

  2. rubensworks commented on Dec 7, 2025

    @rubensworks
    Member

    This seems unrelated to this mod:

    java.lang.ClassCastException: class net.satisfy.lilis_lucky_lures.core.entity.FloatingDebrisEntity cannot be cast to class net.minecraft.world.entity.LivingEntity

    Please report this to lilis_lucky_lures.

  3. Dirmagnos commented on Dec 8, 2025

    @Dirmagnos
    Author

    Ahh, my bad. Thank you.
    On a related note, are there any guides how to read those error logs? Specific sections? Keywords, etc. I cant find anything online. Maybe even plugin for NP++.馃榿

  4. Jack-McKalling commented on Dec 8, 2025

    @Jack-McKalling
    Contributor

    Ahh, my bad. Thank you. On a related note, are there any guides how to read those error logs? Specific sections? Keywords, etc. I cant find anything online. Maybe even plugin for NP++.馃榿

    If there are any, we don't have them. But you can learn more in other modded communities, like the one for NeoForge or when creating your own mods. Of course analysing existing logs from other people/mods can also help.

    I did see a website like mclo.gs though, which adds some colouring.

  5. jkwphysics commented on Mar 2, 2026

    @jkwphysics

    I seem to be having the same issue in relation to another mod entirely (Bosses Rise), so is there some common misbehaving factor in Bosses Rise and Lucky Lures that is in conflict with EA mod? I would like to make sure the issue is getting to the right place.
    https://mclo.gs/Nu1EOH4

    787 lines

    Edit: After looking at this longer... The crash originates at EverlastingAbilities.onEntityJoinWorld (line 202). It appears EA is passing a generic Entity into a NeoForge EntityCapability that is strictly registered for LivingEntity. Adding a simple if (entity instanceof LivingEntity) check before calling getEntityAbilityStore when an entity joins the world should completely resolve this crash for all non-living entities from any mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions