From 515c6f86f9e3761ad7cb80952776a86c442d5147 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Sat, 12 Mar 2022 12:26:34 +0100 Subject: [PATCH] Parsing ist kaputt. --- src/de/steamwar/bungeecore/listeners/mods/Fabric.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/listeners/mods/Fabric.java b/src/de/steamwar/bungeecore/listeners/mods/Fabric.java index 6037c6ec..bce05485 100644 --- a/src/de/steamwar/bungeecore/listeners/mods/Fabric.java +++ b/src/de/steamwar/bungeecore/listeners/mods/Fabric.java @@ -52,9 +52,8 @@ public class Fabric extends BasicListener { List mods = new LinkedList<>(); String dataString = new String(e.getData()).substring(1); - String dataString2 = "{:" + dataString + "}"; - System.out.println(dataString2); + System.out.println(dataString); try { JsonArray array = new JsonParser().parse(dataString).getAsJsonArray();