mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +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
|
||||
*/
|
||||
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