Skip to content

Commit

Permalink
Added SuperiorSkyblock as a parameter for loadData
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenGera committed Feb 17, 2022
1 parent b744011 commit 8f2945d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -67,8 +67,10 @@ protected PluginModule(String moduleName, String authorName) {
* <p>
* This is similar to load data when {@link com.bgsoftware.superiorskyblock.api.events.PluginInitializedEvent}
* is fired.
*
* @param plugin Instance of the plugin.
*/
public void loadData() {
public void loadData(SuperiorSkyblock plugin) {

}

Expand Down
Expand Up @@ -34,6 +34,8 @@ public void onDisable(SuperiorSkyblock plugin) {
onDisable((SuperiorSkyblockPlugin) plugin);
}

public abstract void loadData(SuperiorSkyblock plugin);

@Override
public Listener[] getModuleListeners(SuperiorSkyblock plugin) {
return getModuleListeners((SuperiorSkyblockPlugin) plugin);
Expand Down

0 comments on commit 8f2945d

Please sign in to comment.