Error while adding tab prefixes

Discussion in 'Spigot Plugin Development' started by JackPlayzMC, Dec 24, 2017.

  1. I tried to add a prefix to a player's name using scoreboards but there is an error. Here is the tab prefix class: https://pastebin.com/s4Uxz7CK
     
  2. Give us more detail about the error please.
     
  3. Null exception error
     
  4. The full error.... All like, 20 lines that are in the console
     
  5. If you are trying the owner rank the permission is wrong..
    Code (Text):
    if (player.hasPermission(MessageUtil.OWNER_PERRISSION)){
                Owner.addPlayer(player);
            }
    Unless you meant to have it like that.