diff --git a/src/Network/Receive.pm b/src/Network/Receive.pm index 418af69f2c..705be44444 100644 --- a/src/Network/Receive.pm +++ b/src/Network/Receive.pm @@ -4531,7 +4531,7 @@ sub sprite_change { } elsif ($type == 5) { message TF("%s changed Middle headgear to %s (%d)\n", $player, headgearName($value1), $value1), "parseMsg_statuslook"; $player->{headgear}{mid} = $value1; - } elsif ($args->{part} == 6) { + } elsif ($type == 6) { message TF("%s changed Hair color to: %s (%d)\n", $player, $haircolors{$value1}, $value1), "parseMsg_statuslook"; $player->{hair_color} = $value1; } elsif ($type == 9) { @@ -4540,7 +4540,10 @@ sub sprite_change { } $player->{shoes} = $value1; } elsif ($type == 12) { - message TF("%s changed Robe to: SPRITE_ROBE_ID=%d\n", $player, $value1, $value1), "parseMsg_statuslook"; + message TF("%s changed Robe to: SPRITE_ROBE_ID=%d\n", $player, $value1, $value1), "parseMsg_statuslook", 2; + } elsif ($type== 7 || $type == 13) { + # Type 7 looks like body palette or body color. Type 13 looks like body2 + debug sprintf("%s changed type= %d. value1=%d, value2=%d\n", $player, $type, $value1, $value2); } else { error TF("%s changed unknown sprite type (%d), write about it to OpenKore developer\n", $player, $type), "parseMsg_statuslook"; }