This commit is contained in:
GameHerobrine 2023-12-19 22:34:04 +03:00
parent 6d430c3440
commit b84093e4ce
25 changed files with 48 additions and 163 deletions

View file

@ -68,7 +68,7 @@ class PaintingItem extends Item{
$validMotives[] = $motive;
}
}
$motive = $validMotives[array_rand($validMotives)]; //TODO simplify if possible
$motive = $validMotives[array_rand($validMotives)];
$data = array(
"x" => $target->x,
"y" => $target->y,