aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/events
diff options
context:
space:
mode:
authoringlettronald <71849533+inglettronald@users.noreply.github.com>2023-03-21 18:08:57 -0500
committerGitHub <noreply@github.com>2023-03-21 18:08:57 -0500
commit2cb6f4cffee0ab505b35938cf71518e4640a229a (patch)
tree02224acacc7e7823079a8e2cc24377eafe33700c /src/main/kotlin/dulkirmod/events
parent05c6b155f1de3a96ef081627ff7805238742162f (diff)
parent3968c49ccfb1fb3b0c6a8274f4d45ed0ba50ec48 (diff)
downloadDulkirMod-2cb6f4cffee0ab505b35938cf71518e4640a229a.tar.gz
DulkirMod-2cb6f4cffee0ab505b35938cf71518e4640a229a.tar.bz2
DulkirMod-2cb6f4cffee0ab505b35938cf71518e4640a229a.zip
Merge pull request #11 from IlmarsXd/master
refactor modules (class -> object), add memory leak fix
Diffstat (limited to 'src/main/kotlin/dulkirmod/events')
-rw-r--r--src/main/kotlin/dulkirmod/events/ChatEvent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/events/ChatEvent.kt b/src/main/kotlin/dulkirmod/events/ChatEvent.kt
index 1b0f232..8a4065e 100644
--- a/src/main/kotlin/dulkirmod/events/ChatEvent.kt
+++ b/src/main/kotlin/dulkirmod/events/ChatEvent.kt
@@ -6,7 +6,7 @@ import net.minecraftforge.client.event.ClientChatReceivedEvent
import net.minecraftforge.fml.common.eventhandler.EventPriority
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
-class ChatEvent {
+object ChatEvent {
/**
* This is mostly the way it is to avoid having to run strip color codes a bunch of times