fix: include face in wearing avatar sandbox
This commit is contained in:
parent
7d0ef89748
commit
ba19dd2691
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ async function LoadItems() {
|
||||||
|
|
||||||
function LoadWearing() {
|
function LoadWearing() {
|
||||||
document.getElementById('wearing').innerHTML = '';
|
document.getElementById('wearing').innerHTML = '';
|
||||||
[...Avatar.items, Avatar.shirt, Avatar.pants, Avatar.tool, Avatar.torso].filter((x) => x !== undefined).forEach(id => {
|
[...Avatar.items, Avatar.face, Avatar.shirt, Avatar.pants, Avatar.tool, Avatar.torso].filter((x) => x !== undefined).forEach(id => {
|
||||||
const Cached = Object.values(ItemCache)[Object.keys(ItemCache).indexOf(id.toString())]
|
const Cached = Object.values(ItemCache)[Object.keys(ItemCache).indexOf(id.toString())]
|
||||||
if (Cached !== undefined) {
|
if (Cached !== undefined) {
|
||||||
if (Cached.creator === undefined || Cached.creator === null) {
|
if (Cached.creator === undefined || Cached.creator === null) {
|
||||||
|
|
|
||||||
Reference in a new issue