From f78a28ae730c4a01afec656c96bbe96862029dd6 Mon Sep 17 00:00:00 2001 From: ya4ept Date: Wed, 18 Dec 2024 21:44:08 +0300 Subject: [PATCH] suppress the output of the sprite_change message We don't know what type 7 and 13 are. Type 7 looks like body palette or body color. Type 13 looks like body2 --- src/Network/Receive.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Network/Receive.pm b/src/Network/Receive.pm index 418af69f2c..0d561c8a66 100644 --- a/src/Network/Receive.pm +++ b/src/Network/Receive.pm @@ -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 ($args->{part} == 7 || $args->{part} == 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"; }