mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Merge pull request #1074 from TehBrian/patch-1
fix persistent() -> persist() method name
This commit is contained in:
commit
5998c859d3
@ -107,7 +107,7 @@ This method of creating a PlaceholderExpansion is recommended as it has the foll
|
|||||||
Internal PlaceholderExpansions are not automatically registered by PlaceholderAPI, due to them not being a separate jar file located in the expansion folder.
|
Internal PlaceholderExpansions are not automatically registered by PlaceholderAPI, due to them not being a separate jar file located in the expansion folder.
|
||||||
Please see the [Regsister your Expansion](#register-your-expansion) section for more details.
|
Please see the [Regsister your Expansion](#register-your-expansion) section for more details.
|
||||||
|
|
||||||
You are also required to override and set `persistent()` to `true`. This tells PlaceholderAPI to not unload your expansion during plugin reload, as it would otherwise unregister your expansion, making it no longer work.
|
You are also required to override and set `persist()` to `true`. This tells PlaceholderAPI to not unload your expansion during plugin reload, as it would otherwise unregister your expansion, making it no longer work.
|
||||||
///
|
///
|
||||||
|
|
||||||
/// details | Full Example
|
/// details | Full Example
|
||||||
|
Loading…
Reference in New Issue
Block a user