Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit 58c539d

Browse files
committed
fix
1 parent 77084e3 commit 58c539d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/VectorNetworkProject/TheMix/TheMix.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
use pocketmine\utils\TextFormat;
1414
use VectorNetworkProject\TheMix\command\PingCommand;
1515
use VectorNetworkProject\TheMix\command\TpsCommand;
16+
use VectorNetworkProject\TheMix\event\ThePlayerJoinEvent;
1617
use VectorNetworkProject\TheMix\event\ThePlayerLoginEvent;
18+
use VectorNetworkProject\TheMix\event\ThePlayerQuitEvent;
1719
use VectorNetworkProject\TheMix\task\UpdateScoreboardTask;
1820

1921
class TheMix extends PluginBase
@@ -74,5 +76,7 @@ private function registerEvents(): void
7476
{
7577
$plm = $this->getServer()->getPluginManager();
7678
$plm->registerEvents(new ThePlayerLoginEvent(), $this);
79+
$plm->registerEvents(new ThePlayerJoinEvent(), $this);
80+
$plm->registerEvents(new ThePlayerQuitEvent(), $this);
7781
}
7882
}

0 commit comments

Comments
 (0)