diff options
author | Linnea Gräf <nea@nea.moe> | 2024-06-19 00:08:30 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-06-19 00:08:30 +0200 |
commit | 4d778b97ee33485af5236ad6bdfdd2949fd69cc2 (patch) | |
tree | 749fb202c133036d954a8fdbcfdea25750721cb2 /archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt | |
parent | a453cc833f52cf1ccd52288edb73c6f0fbc0c7cc (diff) | |
download | archenemy-4d778b97ee33485af5236ad6bdfdd2949fd69cc2.tar.gz archenemy-4d778b97ee33485af5236ad6bdfdd2949fd69cc2.tar.bz2 archenemy-4d778b97ee33485af5236ad6bdfdd2949fd69cc2.zip |
fix stuff for pauline
Diffstat (limited to 'archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt')
-rw-r--r-- | archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt b/archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt new file mode 100644 index 0000000..210bbc7 --- /dev/null +++ b/archenemyexample/src/fabricMain/kotlin/moe/nea/test/TestClass.fabric.kt @@ -0,0 +1,9 @@ +package moe.nea.test + +import net.minecraft.client.MinecraftClient + +actual object TestClass { + actual fun printTitle() { + println(MinecraftClient.getInstance().currentScreen?.toString() ?: "no screen") + } +}
\ No newline at end of file |