Skip to content

Commit

Permalink
[CI SKIP] Deprecated WorldEventsManager
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenGera committed Jun 9, 2022
1 parent 73763ac commit d24181d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -114,6 +114,7 @@ public interface SuperiorSkyblock extends Plugin {
/**
* Get the world events-manager of the plugin.
*/
@Deprecated
WorldEventsManager getWorldEventsManager();

/**
Expand All @@ -122,6 +123,7 @@ public interface SuperiorSkyblock extends Plugin {
* @param worldEventsManager The new events-manager to set.
* If null, the default events-manager will be set.
*/
@Deprecated
void setWorldEventsManager(@Nullable WorldEventsManager worldEventsManager);

}
Expand Up @@ -2,20 +2,23 @@

import org.bukkit.Chunk;

@Deprecated
public interface WorldEventsManager {

/**
* Handles a new chunk being loaded.
*
* @param chunk The chunk that was loaded.
*/
@Deprecated
void loadChunk(Chunk chunk);

/**
* Handles a chunk being unloaded.
*
* @param chunk The chunk that was unloaded.
*/
@Deprecated
void unloadChunk(Chunk chunk);

}

0 comments on commit d24181d

Please sign in to comment.