mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Merge branch 'release/3.2' into release/3.3
This commit is contained in:
commit
a3552875cb
@ -55,6 +55,12 @@ interface Plugin extends CommandExecutor{
|
||||
public function isEnabled() : bool;
|
||||
|
||||
/**
|
||||
* Called by the plugin manager when the plugin is enabled or disabled to inform the plugin of its enabled state.
|
||||
*
|
||||
* @internal This is intended for core use only and should not be used by plugins
|
||||
* @see PluginManager::enablePlugin()
|
||||
* @see PluginManager::disablePlugin()
|
||||
*
|
||||
* @param bool $enabled
|
||||
*/
|
||||
public function setEnabled(bool $enabled = true) : void;
|
||||
|
@ -93,6 +93,12 @@ abstract class PluginBase implements Plugin{
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by the plugin manager when the plugin is enabled or disabled to inform the plugin of its enabled state.
|
||||
*
|
||||
* @internal This is intended for core use only and should not be used by plugins
|
||||
* @see PluginManager::enablePlugin()
|
||||
* @see PluginManager::disablePlugin()
|
||||
*
|
||||
* @param bool $enabled
|
||||
*/
|
||||
final public function setEnabled(bool $enabled = true) : void{
|
||||
|
Loading…
x
Reference in New Issue
Block a user