A rather bizarre case has emerged as a Justice Online player spent over a million dollars on a character, which was then accidentally sold by his friend for a little over $500.

The player spent between 8 and 10 million yuan ($1,140,000 to $1,420,000) on a character for the MMORPG known as Justice Online. He later allowed a friend to take control of the character, and the friend offered to sell it back to him for 388,000 yuan (around $55,000).

In an unfortunate turn of events, the friend had become so dizzy from constant gaming that he made a typing error, putting the character on sale in the marketplace for 3,880 yuan (around $550). A third party immediately bought the character.

The character’s original owner then sued both his friend and the game’s publisher NetEase for the loss of the character. An online judge decided to order the game’s publisher NetEase to cancel the transaction, and the character’s original owner paid 90,000 yuan (slightly under $13,000) in damages to the player who bought the character at auction.

The local court took the opportunity to warn citizens not to spend too much money on video games.