mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-25 06:02:29 -04:00
Allow redefining standard colour codes because why not
This commit is contained in:
parent
cf0316bce2
commit
e1e5de259f
@ -310,8 +310,6 @@ namespace ClassicalSharp.Network.Protocols {
|
||||
byte code = reader.ReadUInt8();
|
||||
|
||||
if (code <= ' ' || code > '~') return; // Control chars, space, extended chars cannot be used
|
||||
if ((code >= '0' && code <= '9') || (code >= 'a' && code <= 'f')
|
||||
|| (code >= 'A' && code <= 'F')) return; // Standard chars cannot be used.
|
||||
if (code == '%' || code == '&') return; // colour code signifiers cannot be used
|
||||
|
||||
game.Drawer2D.Colours[code] = col;
|
||||
|
Loading…
x
Reference in New Issue
Block a user