mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-08 00:42:47 +01:00
2.8.5
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package me.clip.placeholderapi.expansion;
|
||||
|
||||
/**
|
||||
* This interface allows a class which extends a {@link PlaceholderExpansion}
|
||||
* to have the clear method called when the implementing expansion is unregistered
|
||||
* from PlaceholderAPI.
|
||||
* This is useful if we want to do things when the implementing hook is unregistered
|
||||
* @author Ryan McCarthy
|
||||
*
|
||||
*/
|
||||
public interface Cacheable {
|
||||
|
||||
/**
|
||||
* Called when the implementing class is unregistered from PlaceholderAPI
|
||||
*/
|
||||
void clear();
|
||||
}
|
||||
Reference in New Issue
Block a user