From 97e004966a8f3d91ddbf706f7ddfc35785838683 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Mon, 30 Jan 2023 16:40:22 +0100 Subject: [PATCH] Refactoring: deleting unnecessary code in detail: array of items and mobs won't be print out anymore --- src/main/java/org/bitbiome/classes/TravelEngine.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/bitbiome/classes/TravelEngine.java b/src/main/java/org/bitbiome/classes/TravelEngine.java index a8d3213..4eb63d6 100644 --- a/src/main/java/org/bitbiome/classes/TravelEngine.java +++ b/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 JSONArray items = location.getJSONArray("items"); 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<>()); } else { return null;