mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Clear the Reflections scanners to stop it trying to scan (#1582)
This commit is contained in:
parent
881e7a051c
commit
e412ba0993
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue