diff options
author | nea <nea@nea.moe> | 2023-09-09 03:37:29 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-09-09 03:37:29 +0200 |
commit | 255e4f5899642e099e7ec7b1a7fe1e0c32ebbc20 (patch) | |
tree | 11016247a0403d2c1e4bd0de62d3fdf913709eb0 /src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt | |
parent | e0f784a1b209e5ec88a07a71e9336790aac1fc7d (diff) | |
download | firmament-255e4f5899642e099e7ec7b1a7fe1e0c32ebbc20.tar.gz firmament-255e4f5899642e099e7ec7b1a7fe1e0c32ebbc20.tar.bz2 firmament-255e4f5899642e099e7ec7b1a7fe1e0c32ebbc20.zip |
Add tools for copying id, texture id and nbt data
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt b/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt index 20d1358..e045fa8 100644 --- a/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt +++ b/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt @@ -68,7 +68,7 @@ object DeveloperFeatures : FirmamentFeature { HandledScreenKeyPressedEvent.subscribe { if (it.matches(IKeyBinding.ofKeyCode(GLFW.GLFW_KEY_K))) { it.screen as AccessorHandledScreen - val focussedSlot = it.screen.focusedSlot_NEU ?: return@subscribe + val focussedSlot = it.screen.focusedSlot_Firmament ?: return@subscribe val item = focussedSlot.stack ?: return@subscribe val ident = item.skyBlockId?.identifier.toString() MinecraftClient.getInstance().inGameHud.chatHud.addMessage( |