public class ChatRewriter extends Object
| Constructor and Description |
|---|
ChatRewriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
toClient(com.google.gson.JsonObject obj,
UserConnection user)
Rewrite chat being sent to the client so that gamemode issues don't occur.
|
public static void toClient(com.google.gson.JsonObject obj,
UserConnection user)
obj - The json object being sent by the serveruser - The player involved. (Required for Gamemode info)Copyright © 2016–2021. All rights reserved.