mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 00:09:39 +00:00
ResourcePackInfoEntry: remove useless null coalesce operators
these fields are never null. these errors aren't reported unless bleeding-edge is enabled.
This commit is contained in:
parent
fb4b92d1f4
commit
be0cec531a
@ -84,9 +84,9 @@ class ResourcePackInfoEntry{
|
||||
$out->putString($this->packId);
|
||||
$out->putString($this->version);
|
||||
$out->putLLong($this->sizeBytes);
|
||||
$out->putString($this->encryptionKey ?? "");
|
||||
$out->putString($this->subPackName ?? "");
|
||||
$out->putString($this->contentId ?? "");
|
||||
$out->putString($this->encryptionKey);
|
||||
$out->putString($this->subPackName);
|
||||
$out->putString($this->contentId);
|
||||
$out->putBool($this->hasScripts);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user