moved RegisteredListener to event namespace

This commit is contained in:
Dylan K. Taylor 2019-06-30 14:31:38 +01:00
parent 80d4eeaa3c
commit 68bff6cf69
3 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,6 @@ declare(strict_types=1);
namespace pocketmine\event;
use pocketmine\plugin\Plugin;
use pocketmine\plugin\RegisteredListener;
use pocketmine\utils\Utils;
use function array_fill_keys;
use function in_array;

View File

@ -21,10 +21,9 @@
declare(strict_types=1);
namespace pocketmine\plugin;
namespace pocketmine\event;
use pocketmine\event\Cancellable;
use pocketmine\event\Event;
use pocketmine\plugin\Plugin;
use pocketmine\timings\TimingsHandler;
class RegisteredListener{

View File

@ -29,6 +29,7 @@ use pocketmine\event\HandlerList;
use pocketmine\event\Listener;
use pocketmine\event\plugin\PluginDisableEvent;
use pocketmine\event\plugin\PluginEnableEvent;
use pocketmine\event\RegisteredListener;
use pocketmine\network\mcpe\protocol\ProtocolInfo;
use pocketmine\permission\PermissionManager;
use pocketmine\Server;