diff options
author | nea <nea@nea.moe> | 2023-09-04 20:22:51 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-09-04 20:22:51 +0200 |
commit | d202ef5439a180efecc27ab4695b1a12febb041f (patch) | |
tree | 959ac68db802d562dee2d92aecbb3741dbcce3b6 /src/main/kotlin/moe/nea/firmament/features/world | |
parent | ee5591684dc6bcdea6c44a62806d537bbb7e0cee (diff) | |
download | firmament-d202ef5439a180efecc27ab4695b1a12febb041f.tar.gz firmament-d202ef5439a180efecc27ab4695b1a12febb041f.tar.bz2 firmament-d202ef5439a180efecc27ab4695b1a12febb041f.zip |
Make chat events use fabric events
[no changelog]
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features/world')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt b/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt index c1ccfc4..462325e 100644 --- a/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt +++ b/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt @@ -17,7 +17,7 @@ import net.minecraft.client.render.VertexFormat import net.minecraft.client.render.VertexFormats import net.minecraft.text.Text import net.minecraft.util.math.Vec3d -import moe.nea.firmament.events.ServerChatLineReceivedEvent +import moe.nea.firmament.events.AllowChatEvent import moe.nea.firmament.events.SkyblockServerUpdateEvent import moe.nea.firmament.events.WorldRenderLastEvent import moe.nea.firmament.features.FirmamentFeature @@ -125,7 +125,7 @@ object FairySouls : FirmamentFeature { updateWorldSouls() updateMissingSouls() } - ServerChatLineReceivedEvent.subscribe { + AllowChatEvent.subscribe { when (it.text.unformattedString) { "You have already found that Fairy Soul!" -> { markNearestSoul() |