Expose plugins dir

This commit is contained in:
RaphiMC 2023-04-22 18:39:39 +02:00
parent f66bc3c435
commit 48e20167c2

View File

@ -34,9 +34,9 @@ import java.util.Map;
public class PluginManager { public class PluginManager {
public static final LambdaManager EVENT_MANAGER = LambdaManager.threadSafe(new LambdaMetaFactoryGenerator()); public static final LambdaManager EVENT_MANAGER = LambdaManager.threadSafe(new LambdaMetaFactoryGenerator());
public static final File PLUGINS_DIR = new File("plugins");
private static final Yaml YAML = new Yaml(); private static final Yaml YAML = new Yaml();
private static final File PLUGINS_DIR = new File("plugins");
private static final List<ViaProxyPlugin> PLUGINS = new ArrayList<>(); private static final List<ViaProxyPlugin> PLUGINS = new ArrayList<>();
public static List<ViaProxyPlugin> getPlugins() { public static List<ViaProxyPlugin> getPlugins() {