mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
InGamePacketHandler: log a debug when processing skin change requests
This commit is contained in:
parent
5a4550a4fc
commit
40b90bb722
@ -745,6 +745,7 @@ class InGamePacketHandler extends PacketHandler{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function handlePlayerSkin(PlayerSkinPacket $packet) : bool{
|
public function handlePlayerSkin(PlayerSkinPacket $packet) : bool{
|
||||||
|
$this->session->getLogger()->debug("Processing skin change request");
|
||||||
try{
|
try{
|
||||||
$skin = SkinAdapterSingleton::get()->fromSkinData($packet->skin);
|
$skin = SkinAdapterSingleton::get()->fromSkinData($packet->skin);
|
||||||
}catch(InvalidSkinException $e){
|
}catch(InvalidSkinException $e){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user