Entity and player UUID help

Discussion in 'Spigot Plugin Development' started by Blares, Jul 26, 2018.

  1. the method:


    are these two methods going to return the same UUID on one player

    for example:

    a player joins and is given an entity UUID and a player UUID

    or (this is what im hoping) both of the UUID's are the same and they both return the players only UUID
  2. Well the method name is the same for players and entities, so the exact same method is invoked when the Entity is in reality a Player.

    So yes, as the method invoked is the same, they return the same UUID
  3. Thank you so much couldn't have made this plugin without you.
  4. Just remember that all Players are Entities but not all Entities are Players