#'time' (Integer) is null, but it won't let me check if it is null
1 messages · Page 1 of 1 (latest)
== null
done
= sets
== checks if something is equal to
!= checks if not equal to
Ooooo thats helpful thx
umm got a similar error, basically 'player1' is null but I tried to set it to the player but it is still stopping at line 32 saying that 'player1' is null, before it can get to the part setting it as the player
32. String player1 = map1.get(Player).toString();
33. Player player = event.getPlayer();
34. if (player1 == null) {
35. player1 = String.valueOf(player);
36. }
would you or anyone happen to know how to solve this?