From 8518349cce831ceb7da3a3ff3ff2a7607bac724c Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 30 Dec 2023 00:48:34 -0800 Subject: [PATCH] fix BB name encoding bug --- src/PlayerSubordinates.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerSubordinates.cc b/src/PlayerSubordinates.cc index 788d0689..f9ffa072 100644 --- a/src/PlayerSubordinates.cc +++ b/src/PlayerSubordinates.cc @@ -153,7 +153,7 @@ void PlayerVisualConfig::enforce_lobby_join_limits_for_version(Version v) { } this->class_flags = class_flags_for_class(this->char_class); - if (is_v4(v) && (this->name.at(0) == '\t') && (this->name.at(1) == 'J' || this->name.at(1) == 'E')) { + if (!is_v4(v) && (this->name.at(0) == '\t') && (this->name.at(1) == 'J' || this->name.at(1) == 'E')) { this->name.encode(this->name.decode().substr(2)); } }