aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features
diff options
context:
space:
mode:
authorJacob <admin@kath.lol>2025-07-02 13:05:19 +0800
committerLinnea Gräf <nea@nea.moe>2025-07-02 12:34:04 +0200
commit5147d1b953fc60e1cecea112f56e63e61e25a7d6 (patch)
tree0fe2d028e5bd865d414aa94662eef95504e21b79 /src/main/kotlin/features
parenta3728314a0203720e249ab4d0968dbfad78a6bfc (diff)
downloadFirmament-5147d1b953fc60e1cecea112f56e63e61e25a7d6.tar.gz
Firmament-5147d1b953fc60e1cecea112f56e63e61e25a7d6.tar.bz2
Firmament-5147d1b953fc60e1cecea112f56e63e61e25a7d6.zip
fix: etherwarp overlay not require sneak
Diffstat (limited to 'src/main/kotlin/features')
-rw-r--r--src/main/kotlin/features/items/EtherwarpOverlay.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/features/items/EtherwarpOverlay.kt b/src/main/kotlin/features/items/EtherwarpOverlay.kt
index 83e533c..d560ad6 100644
--- a/src/main/kotlin/features/items/EtherwarpOverlay.kt
+++ b/src/main/kotlin/features/items/EtherwarpOverlay.kt
@@ -29,6 +29,7 @@ object EtherwarpOverlay : FirmamentFeature {
fun renderEtherwarpOverlay(event: WorldRenderLastEvent) {
if (!TConfig.etherwarpOverlay) return
val player = MC.player ?: return
+ if (!player.isSneaking) return
val world = player.world
val camera = MC.camera ?: return
val heldItem = MC.stackInHand