mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
moved RegisteredListener to event namespace
This commit is contained in:
parent
80d4eeaa3c
commit
68bff6cf69
@ -24,7 +24,6 @@ declare(strict_types=1);
|
|||||||
namespace pocketmine\event;
|
namespace pocketmine\event;
|
||||||
|
|
||||||
use pocketmine\plugin\Plugin;
|
use pocketmine\plugin\Plugin;
|
||||||
use pocketmine\plugin\RegisteredListener;
|
|
||||||
use pocketmine\utils\Utils;
|
use pocketmine\utils\Utils;
|
||||||
use function array_fill_keys;
|
use function array_fill_keys;
|
||||||
use function in_array;
|
use function in_array;
|
||||||
|
@ -21,10 +21,9 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace pocketmine\plugin;
|
namespace pocketmine\event;
|
||||||
|
|
||||||
use pocketmine\event\Cancellable;
|
use pocketmine\plugin\Plugin;
|
||||||
use pocketmine\event\Event;
|
|
||||||
use pocketmine\timings\TimingsHandler;
|
use pocketmine\timings\TimingsHandler;
|
||||||
|
|
||||||
class RegisteredListener{
|
class RegisteredListener{
|
@ -29,6 +29,7 @@ use pocketmine\event\HandlerList;
|
|||||||
use pocketmine\event\Listener;
|
use pocketmine\event\Listener;
|
||||||
use pocketmine\event\plugin\PluginDisableEvent;
|
use pocketmine\event\plugin\PluginDisableEvent;
|
||||||
use pocketmine\event\plugin\PluginEnableEvent;
|
use pocketmine\event\plugin\PluginEnableEvent;
|
||||||
|
use pocketmine\event\RegisteredListener;
|
||||||
use pocketmine\network\mcpe\protocol\ProtocolInfo;
|
use pocketmine\network\mcpe\protocol\ProtocolInfo;
|
||||||
use pocketmine\permission\PermissionManager;
|
use pocketmine\permission\PermissionManager;
|
||||||
use pocketmine\Server;
|
use pocketmine\Server;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user