aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-06-05 22:32:03 +1000
committerGitHub <noreply@github.com>2024-06-05 14:32:03 +0200
commit406eaec8bd9e7ca630d1f79ffe2ddda8493778eb (patch)
tree1a3688b0629a924908476dc4787221596e92a0a4 /src/main/java/at/hannibal2/skyhanni/events
parente61f260fa2a094a43ebe1ab3d3305874dee6b716 (diff)
downloadskyhanni-406eaec8bd9e7ca630d1f79ffe2ddda8493778eb.tar.gz
skyhanni-406eaec8bd9e7ca630d1f79ffe2ddda8493778eb.tar.bz2
skyhanni-406eaec8bd9e7ca630d1f79ffe2ddda8493778eb.zip
Fix: Crash and use less forge events (#1986)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/entity/EntityEnterWorldEvent.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/minecraft/ClientDisconnectEvent.kt5
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/entity/EntityEnterWorldEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/entity/EntityEnterWorldEvent.kt
new file mode 100644
index 000000000..14283f2fe
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/events/entity/EntityEnterWorldEvent.kt
@@ -0,0 +1,6 @@
+package at.hannibal2.skyhanni.events.entity
+
+import at.hannibal2.skyhanni.events.LorenzEvent
+import net.minecraft.entity.Entity
+
+class EntityEnterWorldEvent(val entity: Entity) : LorenzEvent()
diff --git a/src/main/java/at/hannibal2/skyhanni/events/minecraft/ClientDisconnectEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/minecraft/ClientDisconnectEvent.kt
new file mode 100644
index 000000000..b041fc595
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/events/minecraft/ClientDisconnectEvent.kt
@@ -0,0 +1,5 @@
+package at.hannibal2.skyhanni.events.minecraft
+
+import at.hannibal2.skyhanni.events.LorenzEvent
+
+class ClientDisconnectEvent : LorenzEvent()