public class LightPlugin extends JavaPlugin {
private static LightPlugin lightPlugin;
private final Light light;
public LightPlugin() {
lightPlugin = this;
<BUG>this.light = new Light();
}</BUG>
@Override
public void onEnable() {
light.initializeDefaultElements();

public class LightPlugin extends JavaPlugin {
private static LightPlugin lightPlugin;
private final Light light;
public LightPlugin() {
lightPlugin = this;
this.light = new Light();
}
public static LightPlugin getInstance() {
return lightPlugin;
}
@Override
public void onEnable() {
light.initializeDefaultElements();
