aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-09-09 03:37:29 +0200
committernea <nea@nea.moe>2023-09-09 03:37:29 +0200
commit255e4f5899642e099e7ec7b1a7fe1e0c32ebbc20 (patch)
tree11016247a0403d2c1e4bd0de62d3fdf913709eb0 /src/main/kotlin/moe/nea/firmament/features/debug/DeveloperFeatures.kt
parente0f784a1b209e5ec88a07a71e9336790aac1fc7d (diff)
downloadfirmament-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.kt2
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(