Browse Source

Refactoring: deleting unnecessary code

in detail: array of items and mobs won't be print out anymore
remotes/origin/Julia
Juliakn66 2 years ago
parent
commit
97e004966a
  1. 3
      src/main/java/org/bitbiome/classes/TravelEngine.java

3
src/main/java/org/bitbiome/classes/TravelEngine.java

@ -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;

Loading…
Cancel
Save