mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Unnecessary "?:"
This commit is contained in:
parent
4630481d54
commit
4eb6bd14a2
6 changed files with 9 additions and 9 deletions
|
|
@ -581,7 +581,7 @@ class Utils{
|
|||
}
|
||||
|
||||
public static function readBool($b){
|
||||
return Utils::readByte($b, false) === 0 ? false : true;
|
||||
return !(Utils::readByte($b, false) === 0);
|
||||
}
|
||||
|
||||
public static function writeBool($b){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue