|
@ -59,8 +59,7 @@ public class TravelEngine { |
|
|
//TODO Create Location by name and add mobs and times to the location |
|
|
//TODO Create Location by name and add mobs and times to the location |
|
|
JSONArray items = location.getJSONArray("items"); |
|
|
JSONArray items = location.getJSONArray("items"); |
|
|
JSONArray mobs = location.getJSONArray("mobs"); |
|
|
JSONArray mobs = location.getJSONArray("mobs"); |
|
|
System.out.println(items.toString(1)); |
|
|
|
|
|
System.out.println(mobs.toString(1)); |
|
|
|
|
|
|
|
|
|
|
|
return new Location(name, new ArrayList<>(), new ArrayList<>()); |
|
|
return new Location(name, new ArrayList<>(), new ArrayList<>()); |
|
|
} else { |
|
|
} else { |
|
|
return null; |
|
|
return null; |
|
|