Fixed building

This commit is contained in:
sekwah41 2018-01-31 18:17:12 +00:00 committed by Sekwah
parent 64b2d88658
commit 72ff68fc2a

View File

@ -10,8 +10,9 @@ public class AdvancedPortalsPlugin extends JavaPlugin {
private AdvancedPortalsCore portalsCore;
public void onEnable() {
// TODO actually get the minecraft version
this.portalsCore = new AdvancedPortalsCore(new DataStorage(this.getDataFolder()),
new SpigotInfoLogger(this), new CommandRegister(this));
new SpigotInfoLogger(this), new CommandRegister(this), new int[]{1,12,2});
this.getServer().getPluginManager().registerEvents(new Listeners(this), this);
}