diff options
author | nea <nea@nea.moe> | 2023-10-28 04:07:47 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-10-28 04:07:47 +0200 |
commit | ad490f2ea7967cb6bb97cb797b33aa3554de46a5 (patch) | |
tree | c45cf7f4b8a6d60399fcc46f793c75bd8387211d /src/main/kotlin/moe/nea/firmament/util | |
parent | 9e7da2829cdc949d211ef5021131b4a48ddc3054 (diff) | |
download | firmament-ad490f2ea7967cb6bb97cb797b33aa3554de46a5.tar.gz firmament-ad490f2ea7967cb6bb97cb797b33aa3554de46a5.tar.bz2 firmament-ad490f2ea7967cb6bb97cb797b33aa3554de46a5.zip |
Rename mixins after what they do, rather than where they do it
[no changelog]
Mixins are now named after what they do, and mixins for the same class that do different things should be in two
separate mixins now.
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/util/data/IDataHolder.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/data/IDataHolder.kt b/src/main/kotlin/moe/nea/firmament/util/data/IDataHolder.kt index 1e7853c..1643ab1 100644 --- a/src/main/kotlin/moe/nea/firmament/util/data/IDataHolder.kt +++ b/src/main/kotlin/moe/nea/firmament/util/data/IDataHolder.kt @@ -13,7 +13,7 @@ import net.minecraft.client.MinecraftClient import net.minecraft.server.command.CommandOutput import net.minecraft.text.Text import moe.nea.firmament.Firmament -import moe.nea.firmament.events.ScreenOpenEvent +import moe.nea.firmament.events.ScreenChangeEvent interface IDataHolder<T> { companion object { @@ -60,7 +60,7 @@ interface IDataHolder<T> { } fun registerEvents() { - ScreenOpenEvent.subscribe { event -> + ScreenChangeEvent.subscribe { event -> performSaves() val p = MinecraftClient.getInstance().player if (p != null) { |