From d4f0d8a57a38a6aa74825d8d6eba4a3f650c7232 Mon Sep 17 00:00:00 2001 From: onebeastchris Date: Fri, 10 Nov 2023 20:24:04 +0100 Subject: [PATCH] Re-add debug: Apparently, not just `application/zip` works....??? --- core/src/main/java/org/geysermc/geyser/util/WebUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/util/WebUtils.java b/core/src/main/java/org/geysermc/geyser/util/WebUtils.java index 59ad746ef..6d7cb93be 100644 --- a/core/src/main/java/org/geysermc/geyser/util/WebUtils.java +++ b/core/src/main/java/org/geysermc/geyser/util/WebUtils.java @@ -115,12 +115,12 @@ public class WebUtils { if (size <= 0) { GeyserImpl.getInstance().getLogger().error(String.format("Invalid size from remote pack URL: %s (size: %d)", url, size)); - return null; + //return null; } if (type == null || !type.equals("application/zip")) { GeyserImpl.getInstance().getLogger().error(String.format("Invalid application type from remote pack URL: %s (type: %s)", url, type)); - return null; + //return null; } InputStream in = con.getInputStream();