Fixed building

This commit is contained in:
sekwah41 2018-01-31 18:17:12 +00:00
parent df9ee7a595
commit eaaf4c3363

View File

@ -10,8 +10,9 @@ public class AdvancedPortalsPlugin extends JavaPlugin {
private AdvancedPortalsCore portalsCore; private AdvancedPortalsCore portalsCore;
public void onEnable() { public void onEnable() {
// TODO actually get the minecraft version
this.portalsCore = new AdvancedPortalsCore(new DataStorage(this.getDataFolder()), 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); this.getServer().getPluginManager().registerEvents(new Listeners(this), this);
} }