diff options
Diffstat (limited to 'src/main/kotlin/util/data/IDataHolder.kt')
-rw-r--r-- | src/main/kotlin/util/data/IDataHolder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/util/data/IDataHolder.kt b/src/main/kotlin/util/data/IDataHolder.kt index 5d09bcd..cc97b58 100644 --- a/src/main/kotlin/util/data/IDataHolder.kt +++ b/src/main/kotlin/util/data/IDataHolder.kt @@ -56,7 +56,7 @@ interface IDataHolder<T> { } fun registerEvents() { - ScreenChangeEvent.subscribe { event -> + ScreenChangeEvent.subscribe("IDataHolder:saveOnScreenChange") { event -> performSaves() val p = MinecraftClient.getInstance().player if (p != null) { |