Enable plugins like they were meant to
This commit is contained in:
parent
ccf44336ce
commit
7e41a6cd70
@ -151,13 +151,14 @@ public class BungeeCord extends ProxyServer
|
|||||||
*/
|
*/
|
||||||
public void start() throws IOException
|
public void start() throws IOException
|
||||||
{
|
{
|
||||||
|
File plugins = new File("plugins");
|
||||||
|
plugins.mkdir();
|
||||||
|
pluginManager.loadPlugins(plugins);
|
||||||
config.load();
|
config.load();
|
||||||
reconnectHandler = new YamlReconnectHandler();
|
reconnectHandler = new YamlReconnectHandler();
|
||||||
isRunning = true;
|
isRunning = true;
|
||||||
|
|
||||||
File plugins = new File("plugins");
|
pluginManager.enablePlugins();
|
||||||
plugins.mkdir();
|
|
||||||
pluginManager.loadPlugins(plugins);
|
|
||||||
|
|
||||||
for (ListenerInfo info : config.getListeners())
|
for (ListenerInfo info : config.getListeners())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user