Giter Site home page Giter Site logo

Packet instance error about npc-lib HOT 4 CLOSED

plytki avatar plytki commented on August 11, 2024
Packet instance error

from npc-lib.

Comments (4)

vytskalt avatar vytskalt commented on August 11, 2024

I also get these errors. Seems like it only happens when I join when the server hasn't fully started yet.

from npc-lib.

derklaro avatar derklaro commented on August 11, 2024

I can reproduce the issue (with the non-fully started server, thanks for pointing that out), but it seems that the issue is triggered by ProtcolLib which is most likely triggered by some underlying stuff in the server code that is not predictable... I will take a look and see what I can do to fix this

from npc-lib.

plytki avatar plytki commented on August 11, 2024

Ok, so I found out that NPC sometimes do not spawn. It is random. Sometime when I start the server Npc are spawning, but sometimes they are not and that's why I'm getting this packet instance error. I'm always making sure to wait 5 sec after the server has fully started and I'm joining the world.

from npc-lib.

derklaro avatar derklaro commented on August 11, 2024

I've implemented a fix for your issue in protocollib, please try out if the issue still happens with the latest build. If that's the case feel free to comment here again :)

Closing for now

from npc-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.