Skip to content
This repository was archived by the owner on May 24, 2018. It is now read-only.

Commit 3ae6d68

Browse files
author
Shoghi Cervantes
committed
Merge pull request #5 from PEMapModder/patch-1
Fixed unnecessary "implements CommandExecutor"
2 parents 3be90d6 + 6a1badb commit 3ae6d68

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/ExamplePlugin/MainClass.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
namespace ExamplePlugin;
44

55
use pocketmine\command\Command;
6-
use pocketmine\command\CommandExecutor;
7-
use pocketmine\command\CommandSender;
86
use pocketmine\event\Listener;
97
use pocketmine\event\player\PlayerRespawnEvent;
108
use pocketmine\Player;
119
use pocketmine\plugin\PluginBase;
1210
use pocketmine\Server;
1311
use pocketmine\utils\TextFormat;
1412

15-
class MainClass extends PluginBase implements Listener, CommandExecutor{
13+
class MainClass extends PluginBase implements Listener{
1614

1715
public function onLoad(){
1816
$this->getLogger()->info(TextFormat::WHITE . "I've been loaded!");

0 commit comments

Comments
 (0)