Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Phantom villager

Comments in 'Plugin Development' started by MyNameIsTriXz, Aug 22, 2016.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    I can remember that I once pushed down a villager in my word. Then I started my plugin where a message "<playername> fell down and was killed" appears whenever a player was killed. It appears on PlayerMoveEvent when a player's Y is lower than 5. For some reason I am getting the whole time a message called Villager fell down and died, first of all how does a Villager have a name, and second, why is it called in a Player method?
  2. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    And by the way, Villager::close() wont work
  3. Revanex
    Offline

    Revanex New Member

    Joined:
    Jul 5, 2016
    Posts:
    4
    Minecraft User:
    Revanex
    villager is an entity in code, not villager.

Share This Page

Advertisement