From 03979f3fc9ab95084f7fccbcf831f0beda039df5 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Wed, 1 Feb 2023 10:09:56 +0100 Subject: [PATCH] refactoring: delete unused code --- src/main/java/org/bitbiome/commands/InventoryCommand.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/bitbiome/commands/InventoryCommand.java b/src/main/java/org/bitbiome/commands/InventoryCommand.java index 0d6a871..7234eb9 100644 --- a/src/main/java/org/bitbiome/commands/InventoryCommand.java +++ b/src/main/java/org/bitbiome/commands/InventoryCommand.java @@ -18,8 +18,6 @@ public class InventoryCommand implements CommandAPI { public String readInv(TravelEngine travelEngine) { StringBuilder s = new StringBuilder(); - JsonParser jp = new JsonParser(); - JSONObject o = jp.getJSONObject("playerconfig.json"); ArrayList inventory = travelEngine.getPlayer().getInventory(); s.append(Colors.ANSI_BRIGHT_RED +"Du möchtest wissen, was in deinem Inventar ist? \nDann lass uns gemeinsam deinen Rucksack öffnen. \nDein Rucksack steckt ja voller Überraschungen! \nDas hast du alles schon gefunden: \n"+ Colors.ANSI_RESET);