Skip to content

Commit 8390356

Browse files
committed
oops
Signed-off-by: Octol1ttle <[email protected]>
1 parent d126950 commit 8390356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/ru/octol1ttle/flightassistant/impl/computer/data/AirDataComputer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class AirDataComputer(computers: ComputerBus, private val mc: Minecraft) : Compu
4242
get() =
4343
if (computers.gpws.groundY == null || computers.gpws.groundY!! == Double.MAX_VALUE) Double.MAX_VALUE
4444
//? if >=1.21.5 {
45-
/*else max(player.fallDistance, altitude - groundY!!)
45+
/*else max(player.fallDistance, altitude - computers.gpws.groundY!!)
4646
*///?} else
4747
else max(player.fallDistance.toDouble(), altitude - computers.gpws.groundY!!)
4848

0 commit comments

Comments
 (0)