From 67321bb3f6724f22101aed772537cc10a4bad3ae Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 6 Jun 2019 18:35:47 +0100 Subject: [PATCH] remove PluginBase->getFile() this is in preparation for opening the doors to more exotic kinds of plugin loaders, such as eval()d or web plugins. --- src/pocketmine/plugin/PluginBase.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pocketmine/plugin/PluginBase.php b/src/pocketmine/plugin/PluginBase.php index e5dd66296..66a267abb 100644 --- a/src/pocketmine/plugin/PluginBase.php +++ b/src/pocketmine/plugin/PluginBase.php @@ -370,13 +370,6 @@ abstract class PluginBase implements Plugin, CommandExecutor{ return $this->description->getFullName(); } - /** - * @return string - */ - protected function getFile() : string{ - return $this->file; - } - /** * @return PluginLoader */