aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java
blob: 616479e1ae36b5fefe25f5212d493ad3d90cf78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cc.polyfrost.oneconfig.events.event;


import net.minecraft.util.IChatComponent;

/**
 * Called when a chat message is received.
 */
public class ChatReceiveEvent extends CancellableEvent {
    /**
     * The message that was received.
     */
    public final IChatComponent message;

    public ChatReceiveEvent(IChatComponent message) {
        this.message = message;
    }
}