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/rei | |
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/rei')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/rei/SkyblockItemIdFocusedStackProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/SkyblockItemIdFocusedStackProvider.kt b/src/main/kotlin/moe/nea/firmament/rei/SkyblockItemIdFocusedStackProvider.kt index a26ec53..c5bca1b 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/SkyblockItemIdFocusedStackProvider.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/SkyblockItemIdFocusedStackProvider.kt @@ -19,7 +19,7 @@ object SkyblockItemIdFocusedStackProvider : FocusedStackProvider { override fun provide(screen: Screen?, mouse: Point?): CompoundEventResult<EntryStack<*>> { if (screen !is HandledScreen<*>) return CompoundEventResult.pass() screen as AccessorHandledScreen - val focusedSlot = screen.focusedSlot_NEU ?: return CompoundEventResult.pass() + val focusedSlot = screen.focusedSlot_Firmament ?: return CompoundEventResult.pass() val item = focusedSlot.stack ?: return CompoundEventResult.pass() val skyblockId = item.skyBlockId ?: return CompoundEventResult.pass() return CompoundEventResult.interruptTrue(SBItemEntryDefinition.getEntry(skyblockId)) |