Fixing an error on disconnect
This commit is contained in:
parent
f6dd631497
commit
9a173ff44a
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ class Main extends PluginBase implements Listener{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$this->players[$player->getName()] = [];
|
||||||
public function onCommand(CommandSender $sender, Command $cmd, $label, array $args){
|
public function onCommand(CommandSender $sender, Command $cmd, $label, array $args){
|
||||||
switch($cmd->getName()){
|
switch($cmd->getName()){
|
||||||
case "default":
|
case "default":
|
||||||
|
|
Loading…
Reference in a new issue