mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -04:00
Fix ^user.detail=X strings not showing properly when MessageTypes is enabled, closes #143. (Thanks rasmusolle)
This commit is contained in:
parent
cf24061db5
commit
183dc98eb7
@ -84,10 +84,7 @@ namespace ClassicalSharp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
internal string ReadChatString( ref byte messageType, bool useMessageTypes ) {
|
internal string ReadChatString( ref byte messageType, bool useMessageTypes ) {
|
||||||
if( useMessageTypes )
|
if( !useMessageTypes ) messageType = (byte)MessageType.Normal;
|
||||||
return ReadCp437String();
|
|
||||||
|
|
||||||
messageType = (byte)MessageType.Normal;
|
|
||||||
int length = GetString( false, 64 );
|
int length = GetString( false, 64 );
|
||||||
index += 64;
|
index += 64;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user