Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Clear the Reflections scanners to stop it trying to scan (#1582)
Dieser Commit ist enthalten in:
Ursprung
881e7a051c
Commit
e412ba0993
@ -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()) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren