mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 19:24:12 +00:00
removing more unnecessary casts
This commit is contained in:
@ -223,7 +223,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
* @return void
|
||||
*/
|
||||
public function setPortCheck($name){
|
||||
$this->interface->sendOption("portChecking", (bool) $name);
|
||||
$this->interface->sendOption("portChecking", $name);
|
||||
}
|
||||
|
||||
public function handleOption(string $option, string $value) : void{
|
||||
|
Reference in New Issue
Block a user