You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i successfully capture player_skin packet when other player changing their skin, but when i send it back, my skin does not change
i capture it like this
this.client.on('packet',(packet)=>{// console.log(packet)if(packet?.data?.name==='player_skin'){console.log('Received skin packet:',packet.data)// Store the skin packetconstskinsDir=path.join(__dirname,'skins')if(!fs.existsSync(skinsDir)){fs.mkdirSync(skinsDir)}fs.writeFileSync(path.join(skinsDir,'captured_skin.json'),JSON.stringify(packet.data.params,null,2))}})
i successfully capture player_skin packet when other player changing their skin, but when i send it back, my skin does not change
i capture it like this
and send it back later
is this even the way to do this, or currently we cannot set client skin?
The text was updated successfully, but these errors were encountered: