Added plugin instance when calling SomeExpansion in main class

aBooDyy 2019-09-02 21:25:07 +03:00
parent d27b0f088d
commit 7f64ad5e9a
1 changed files with 1 additions and 1 deletions

@ -437,7 +437,7 @@ public class SomePlugin extends JavaPlugin{
public void onEnable(){
// Small check to make sure that PlaceholderAPI is installed
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null){
new SomeExpansion().register();
new SomeExpansion(this).register();
}
}
}