aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com')
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/chat/ChatReceivedEvent.kt (renamed from src/main/kotlin/com/dulkirfabric/events/ChatReceivedEvent.kt)2
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/chat/ModifyCommandEvent.kt7
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt (renamed from src/main/kotlin/com/dulkirfabric/events/OverlayReceivedEvent.kt)2
-rw-r--r--src/main/kotlin/com/dulkirfabric/features/chat/AbiPhoneDND.kt2
4 files changed, 10 insertions, 3 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/events/ChatReceivedEvent.kt b/src/main/kotlin/com/dulkirfabric/events/chat/ChatReceivedEvent.kt
index 9f8430d..4c268ab 100644
--- a/src/main/kotlin/com/dulkirfabric/events/ChatReceivedEvent.kt
+++ b/src/main/kotlin/com/dulkirfabric/events/chat/ChatReceivedEvent.kt
@@ -1,4 +1,4 @@
-package com.dulkirfabric.events
+package com.dulkirfabric.events.chat
import com.dulkirfabric.events.base.CancellableEvent
import net.minecraft.text.Text
diff --git a/src/main/kotlin/com/dulkirfabric/events/chat/ModifyCommandEvent.kt b/src/main/kotlin/com/dulkirfabric/events/chat/ModifyCommandEvent.kt
new file mode 100644
index 0000000..9e3f0d5
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/events/chat/ModifyCommandEvent.kt
@@ -0,0 +1,7 @@
+package com.dulkirfabric.events.chat
+
+import com.dulkirfabric.events.base.Event
+
+data class ModifyCommandEvent (
+ var command: String,
+): Event() \ No newline at end of file
diff --git a/src/main/kotlin/com/dulkirfabric/events/OverlayReceivedEvent.kt b/src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt
index d97dda1..1e27260 100644
--- a/src/main/kotlin/com/dulkirfabric/events/OverlayReceivedEvent.kt
+++ b/src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt
@@ -1,4 +1,4 @@
-package com.dulkirfabric.events
+package com.dulkirfabric.events.chat
import com.dulkirfabric.events.base.CancellableEvent
diff --git a/src/main/kotlin/com/dulkirfabric/features/chat/AbiPhoneDND.kt b/src/main/kotlin/com/dulkirfabric/features/chat/AbiPhoneDND.kt
index 52224ff..c000010 100644
--- a/src/main/kotlin/com/dulkirfabric/features/chat/AbiPhoneDND.kt
+++ b/src/main/kotlin/com/dulkirfabric/features/chat/AbiPhoneDND.kt
@@ -1,7 +1,7 @@
package com.dulkirfabric.features.chat
import com.dulkirfabric.config.DulkirConfig
-import com.dulkirfabric.events.ChatReceivedEvent
+import com.dulkirfabric.events.chat.ChatReceivedEvent
import com.dulkirfabric.events.PlaySoundEvent
import com.dulkirfabric.util.TextUtils
import com.dulkirfabric.util.TextUtils.unformattedString