Skip to content

Commit

Permalink
replace section sign literal with its value
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Jan 4, 2022
1 parent c8c5914 commit cafa892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARRCON/packet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace packet {
switch (*ch) {
case -62: // discard first part of section sign when represented in ASCII
break;
case '§': // color codes
case -89: // '§' // second part of ASCII section sign
if (std::distance(ch, packet.body.end()) > 1ull)
os << mc_color::to_sequence(*++ch);
break;
Expand Down

0 comments on commit cafa892

Please sign in to comment.