mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-09-29 07:37:36 +02:00
Fixed building
This commit is contained in:
parent
df9ee7a595
commit
eaaf4c3363
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user