aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java b/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java
index b69b89b..616479e 100644
--- a/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java
+++ b/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java
@@ -3,7 +3,13 @@ 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) {