增加 返回格式

This commit is contained in:
iVampireSP.com 2022-11-19 20:20:52 +08:00
parent 53173c0d6c
commit f4d6965086
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -219,7 +219,7 @@ public function cost($price = null, $auto = true): bool
return true; return true;
} }
public function addLog($type = 'drops', float $amount = 0) public function addLog($type = 'drops', float $amount = 0): bool
{ {
if ($amount == 0) { if ($amount == 0) {
return false; return false;