mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 04:00:29 +00:00
Plugin: removed useless shit
Plugin is the interface by which the server core interacts with plugins, so it should be limited only to the stuff that the server actually uses. These methods are still provided by PluginBase, so in 99.9% of cases there will be no BC break.
This commit is contained in:
@@ -47,8 +47,6 @@ interface Plugin{
|
||||
*/
|
||||
public function onEnableStateChange(bool $enabled) : void;
|
||||
|
||||
public function isDisabled() : bool;
|
||||
|
||||
/**
|
||||
* Gets the plugin's data folder to save files and configuration.
|
||||
* This directory name has a trailing slash.
|
||||
@@ -57,8 +55,6 @@ interface Plugin{
|
||||
|
||||
public function getDescription() : PluginDescription;
|
||||
|
||||
public function getServer() : Server;
|
||||
|
||||
public function getName() : string;
|
||||
|
||||
public function getLogger() : \AttachableLogger;
|
||||
|
Reference in New Issue
Block a user