Add player->getOutfit function

This commit is contained in:
slawkens
2024-04-01 23:19:12 +02:00
parent 03cc09b8c7
commit ffaa0729ac
2 changed files with 8 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ foreach($posts as &$post) {
}
if($config['characters']['outfit']) {
$post['outfit'] = setting('core.outfit_images_url') . '?id=' . $player->getLookType() . ($lookaddons ? '&addons=' . $player->getLookAddons() : '') . '&head=' . $player->getLookHead() . '&body=' . $player->getLookBody() . '&legs=' . $player->getLookLegs() . '&feet=' . $player->getLookFeet();
$post['outfit'] = $player->getOutfit();
}
$groupName = '';