aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/debug
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-03-11 12:44:59 +0100
committerLinnea Gräf <nea@nea.moe>2025-03-17 21:53:40 +0100
commit29492c00fcf7912751659d7a1a3385b2ec894339 (patch)
treeb9d65d2b42fc9877428c83b073c0895f0a9458c7 /src/main/kotlin/features/debug
parent0169939b6e77af4a2640059553b55ddc695370af (diff)
downloadFirmament-29492c00fcf7912751659d7a1a3385b2ec894339.tar.gz
Firmament-29492c00fcf7912751659d7a1a3385b2ec894339.tar.bz2
Firmament-29492c00fcf7912751659d7a1a3385b2ec894339.zip
feat: add SBItemData implementation
Diffstat (limited to 'src/main/kotlin/features/debug')
-rw-r--r--src/main/kotlin/features/debug/PowerUserTools.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/features/debug/PowerUserTools.kt b/src/main/kotlin/features/debug/PowerUserTools.kt
index 8be5d5d..a2d9b9e 100644
--- a/src/main/kotlin/features/debug/PowerUserTools.kt
+++ b/src/main/kotlin/features/debug/PowerUserTools.kt
@@ -181,7 +181,7 @@ object PowerUserTools : FirmamentFeature {
} else if (it.matches(TConfig.copyItemStack)) {
ClipboardUtils.setTextContent(
ItemStack.CODEC
- .encodeStart(MC.currentOrDefaultRegistries.getOps(NbtOps.INSTANCE), item)
+ .encodeStart(MC.currentOrDefaultNbtOps, item)
.orThrow.toPrettyString())
lastCopiedStack = Pair(item, Text.stringifiedTranslatable("firmament.tooltip.copied.stack"))
}