mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 18:34:56 -04:00
network: restrict chat messages in play state
Kind of security relevant, should have never been unrestricted. It only prevents that the server can not use the file:// protocol.
This commit is contained in:
parent
6fa90be8ea
commit
0269f95e72
@ -101,7 +101,7 @@ class PlayInByteBuffer : InByteBuffer {
|
||||
if (DebugOptions.LOG_RAW_CHAT) {
|
||||
Log.log(LogMessageType.CHAT_IN, LogLevels.VERBOSE) { TextComponent(string) }
|
||||
}
|
||||
return ChatComponent.of(string, connection.language, null)
|
||||
return ChatComponent.of(string, connection.language, null, restricted = true)
|
||||
}
|
||||
|
||||
fun readParticleData(): ParticleData {
|
||||
|
Loading…
x
Reference in New Issue
Block a user