Moved plugin files

This commit is contained in:
Anuken 2019-08-28 22:12:25 -04:00
parent 76f11099b7
commit 57924afa3f
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package io.anuke.mindustry.server.plugin;
package io.anuke.mindustry.plugin;
import io.anuke.arc.util.*;

View File

@ -1,4 +1,4 @@
package io.anuke.mindustry.server.plugin;
package io.anuke.mindustry.plugin;
import io.anuke.arc.collection.Array;
import io.anuke.arc.files.*;

View File

@ -21,8 +21,8 @@ import io.anuke.mindustry.maps.*;
import io.anuke.mindustry.net.Administration.*;
import io.anuke.mindustry.net.Net;
import io.anuke.mindustry.net.Packets.*;
import io.anuke.mindustry.server.plugin.*;
import io.anuke.mindustry.server.plugin.Plugins.*;
import io.anuke.mindustry.plugin.Plugins;
import io.anuke.mindustry.plugin.Plugins.*;
import io.anuke.mindustry.type.*;
import java.io.*;
@ -42,7 +42,7 @@ public class ServerControl implements ApplicationListener{
private final CommandHandler handler = new CommandHandler("");
private final FileHandle logFolder = Core.files.local("logs/");
private final Plugins plugins = new Plugins();
private final io.anuke.mindustry.plugin.Plugins plugins = new Plugins();
private FileHandle currentLogFile;
private boolean inExtraRound;
@ -174,7 +174,7 @@ public class ServerControl implements ApplicationListener{
});
//initialize plugins
plugins.each(Plugin::init);
plugins.each(io.anuke.mindustry.plugin.Plugin::init);
if(!plugins.all().isEmpty()){
info("&lc{0} plugins loaded.", plugins.all().size);