Hey Guys!!!, Sorry for asking this question, I am getting this error ERROR: https://pastebin.com/0JQEJ58L Class: https://pastebin.com/1q9FWhu4 How do you fix this? You get the errror in line 1300
Objective objective = board.getObjective("Something here"); 1948: player.setScoreboard( 1949: objective.getScoreboard());
Hmmm a null pointer exception means you're trying to access something that is null, on that line objective or getScoreboard is null Sent from my iPhone using Tapatalk
I still get the same error I change it to player.setscoreboard(board); But board is not null but the objective might be null
You sure? Do some system.out.println(board.somevariable); Something is definitely null causing your problem Sent from my iPhone using Tapatalk