Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +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