버그 수정
This commit is contained in:
1 parent
16fed754a9
commit
0e50216cee
12 files changed
+67
-42
No files matched your search
@@ -104,7 +104,7 @@ class SightseeingMessage{
|
||||
}
|
||||
|
||||
public function pickAction():array{
|
||||
[$type, $texts] = Util::choiceRandomUsingWeightPair(static::$messages);
|
||||
[$type, $texts] = Util::choiceRandomUsingWeightPair(static::$messages??[]);
|
||||
$text = Util::choiceRandom($texts);
|
||||
|
||||
return [$type, $text];
|
||||
|
||||
Reference in new issue
Block a user