diff --git a/src/shoghicp/BigBrother/DesktopPlayer.php b/src/shoghicp/BigBrother/DesktopPlayer.php index 4e014a2a..9c2b891d 100644 --- a/src/shoghicp/BigBrother/DesktopPlayer.php +++ b/src/shoghicp/BigBrother/DesktopPlayer.php @@ -381,7 +381,7 @@ public function close($message = "", $reason = "generic reason"){ $this->putRawPacket($pk); }else{ $pk = new PlayDisconnectPacket(); - $pk->reason = TextFormat::toJSON($reason === "" ? "You have been disconnected." : $reason);; + $pk->reason = TextFormat::toJSON($reason === "" ? "You have been disconnected." : $reason); $this->putRawPacket($pk); } parent::close($message, $reason); @@ -394,4 +394,4 @@ public function bigBrother_setCompression($threshold){ public function putRawPacket(Packet $packet){ $this->interface->putRawPacket($this, $packet); } -} \ No newline at end of file +}