mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Cleaned up bool comparison mess
This commit is contained in:
@ -168,7 +168,7 @@ class NetworkBinaryStream extends BinaryStream{
|
||||
default:
|
||||
$value = [];
|
||||
}
|
||||
if($types === true){
|
||||
if($types){
|
||||
$data[$key] = [$type, $value];
|
||||
}else{
|
||||
$data[$key] = $value;
|
||||
|
Reference in New Issue
Block a user