1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

generic reason

Discussion in 'Development' started by Kyd, Mar 18, 2017.

  1. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    I using code that drop lots of items and server kick all player for reason: generic reason
    Why?
     
  2. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    You're using a plugin that uses $entity->close() to remove entities, but forgot to check if the entity was instanceof Player. People will get 'closed' in that case.
     
    HimbeersaftLP and Primus like this.
  3. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    Thank you! I am was checking if is instance of Human instead Player :facepalm:
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.