mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 10:05:44 -04:00
Fix duplicate messages being set, fix humanoid left arm being flipped horizontally.
This commit is contained in:
parent
1873fedfb4
commit
1b72c67cac
@ -141,6 +141,8 @@ namespace ClassicalSharp {
|
||||
}
|
||||
|
||||
static bool IsInvalidChar( char c ) {
|
||||
bool isCP437 = Utils.ControlCharReplacements.IndexOf( c ) >= 0 ||
|
||||
Utils.ExtendedCharReplacements.IndexOf( c ) >= 0;
|
||||
// Make sure we're in the printable text range from 0x20 to 0x7E
|
||||
return c < ' ' || c == '&' || c > '~';
|
||||
}
|
||||
@ -166,6 +168,7 @@ namespace ClassicalSharp {
|
||||
allText = allText.Substring( 64 );
|
||||
}
|
||||
game.Chat.Send( allText, false );
|
||||
return;
|
||||
}
|
||||
|
||||
int packetsCount = 0;
|
||||
|
@ -23,7 +23,7 @@ namespace ClassicalSharp.Model {
|
||||
Set.Hat = BuildBox( MakeBoxBounds( -4, 24, -4, 4, 32, 4 )
|
||||
.SetTexOrigin( 32, 0 )
|
||||
.SetModelBounds( -4.5f, 23.5f, -4.5f, 4.5f, 32.5f, 4.5f ) );
|
||||
Set.LeftArm = BuildBox( MakeBoxBounds( -8, 12, -2, -4, 24, 2 )
|
||||
Set.LeftArm = BuildBox( MakeBoxBounds( -4, 12, -2, -8, 24, 2 )
|
||||
.SetTexOrigin( 40, 16 ) );
|
||||
Set.RightArm = BuildBox( MakeBoxBounds( 4, 12, -2, 8, 24, 2 )
|
||||
.SetTexOrigin( 40, 16 ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user