diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-14 00:07:21 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-14 00:07:21 +0200 |
commit | 854ec336cc6a0a3bb60f33acfac28ed45b491a15 (patch) | |
tree | 257e5a44f6cf2c4e12894a53dd6c99491f18f438 /src/main/kotlin/features/mining/CommissionFeatures.kt | |
parent | a40c50b99186d425b3fcf42336940c29b97a8219 (diff) | |
download | firmament-854ec336cc6a0a3bb60f33acfac28ed45b491a15.tar.gz firmament-854ec336cc6a0a3bb60f33acfac28ed45b491a15.tar.bz2 firmament-854ec336cc6a0a3bb60f33acfac28ed45b491a15.zip |
Add /firm exporthotm to save hotm presets
Diffstat (limited to 'src/main/kotlin/features/mining/CommissionFeatures.kt')
-rw-r--r-- | src/main/kotlin/features/mining/CommissionFeatures.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/features/mining/CommissionFeatures.kt b/src/main/kotlin/features/mining/CommissionFeatures.kt index d1b501e..d0acdfd 100644 --- a/src/main/kotlin/features/mining/CommissionFeatures.kt +++ b/src/main/kotlin/features/mining/CommissionFeatures.kt @@ -20,8 +20,7 @@ object CommissionFeatures { if (MC.screenName != "Commissions") return val stack = event.slot.stack if(stack.loreAccordingToNbt.any { it.unformattedString == "COMPLETED" }) { - event.context.drawSprite( - event.slot.x, event.slot.y, 0, 16, 16, + event.highlight( MC.guiAtlasManager.getSprite(Identifier.of("firmament:completed_commission_background")) ) } |