fix: etherwarp overlay not require sneak

This commit is contained in:
Jacob
2025-07-02 13:05:19 +08:00
committed by Linnea Gräf
parent a3728314a0
commit 5147d1b953

View File

@@ -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