From e412ba0993cf038a86e2d6313a1c349516606863 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Mon, 23 Nov 2020 01:08:59 +0000 Subject: [PATCH] Clear the Reflections scanners to stop it trying to scan (#1582) --- .../src/main/java/org/geysermc/connector/utils/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/utils/FileUtils.java b/connector/src/main/java/org/geysermc/connector/utils/FileUtils.java index 4b0178e6e..d99b645e2 100644 --- a/connector/src/main/java/org/geysermc/connector/utils/FileUtils.java +++ b/connector/src/main/java/org/geysermc/connector/utils/FileUtils.java @@ -198,7 +198,7 @@ public class FileUtils { * @return The created Reflections object */ public static Reflections getReflections(String path) { - Reflections reflections = new Reflections(new ConfigurationBuilder()); + Reflections reflections = new Reflections(new ConfigurationBuilder().setScanners()); XmlSerializer serializer = new XmlSerializer(); URL resource = FileUtils.class.getClassLoader().getResource("META-INF/reflections/" + path + "-reflections.xml"); try (InputStream inputStream = resource.openConnection().getInputStream()) {