增加 返回格式
This commit is contained in:
parent
53173c0d6c
commit
f4d6965086
@ -219,7 +219,7 @@ public function cost($price = null, $auto = true): bool
|
||||
return true;
|
||||
}
|
||||
|
||||
public function addLog($type = 'drops', float $amount = 0)
|
||||
public function addLog($type = 'drops', float $amount = 0): bool
|
||||
{
|
||||
if ($amount == 0) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user