mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
End abuse of PluginCommand by making it final
PluginCommand should be better-named CommandExecutorCommand or perhaps CallbackCommand. It's not supposed to be extended by plugins.
This commit is contained in:
parent
909f3f39de
commit
7106ff575c
@ -28,7 +28,7 @@ use pocketmine\plugin\Plugin;
|
||||
use pocketmine\plugin\PluginOwned;
|
||||
use pocketmine\plugin\PluginOwnedTrait;
|
||||
|
||||
class PluginCommand extends Command implements PluginOwned{
|
||||
final class PluginCommand extends Command implements PluginOwned{
|
||||
use PluginOwnedTrait;
|
||||
|
||||
/** @var CommandExecutor */
|
||||
|
Loading…
x
Reference in New Issue
Block a user