mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 09:39:56 +00:00
Server: remove redundant == true from setConfigBool()
This commit is contained in:
parent
76854da7ba
commit
1e21066c1c
@ -1248,7 +1248,7 @@ class Server{
|
|||||||
* @param bool $value
|
* @param bool $value
|
||||||
*/
|
*/
|
||||||
public function setConfigBool(string $variable, bool $value){
|
public function setConfigBool(string $variable, bool $value){
|
||||||
$this->properties->set($variable, $value == true ? "1" : "0");
|
$this->properties->set($variable, $value ? "1" : "0");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user