I have a 2D object array i\'m trying to store the data field "type" from a text file but i get a null pointer error.
for (int i = 0; i < worldArr