2022-01-03 21:25:23 +00:00
|
|
|
package com.alttd;
|
|
|
|
|
|
2022-01-03 21:33:16 +00:00
|
|
|
import com.alttd.commands.CommandManager;
|
|
|
|
|
import com.alttd.config.Config;
|
|
|
|
|
import com.alttd.config.DatabaseConfig;
|
2022-01-03 21:25:23 +00:00
|
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
|
|
|
|
|
|
public class AltitudeParticles extends JavaPlugin {
|
|
|
|
|
|
|
|
|
|
public static AltitudeParticles instance;
|
|
|
|
|
|
|
|
|
|
public static AltitudeParticles getInstance() {
|
|
|
|
|
return instance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void onLoad() {
|
|
|
|
|
instance = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void onEnable() {
|
2022-01-03 21:33:16 +00:00
|
|
|
Config.reload();
|
|
|
|
|
DatabaseConfig.reload();
|
|
|
|
|
new CommandManager();
|
2022-01-03 21:25:23 +00:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|