aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/mining/CommissionFeatures.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/features/mining/CommissionFeatures.kt')
-rw-r--r--src/main/kotlin/features/mining/CommissionFeatures.kt3
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"))
)
}