Skip to content

gpws sometimes faults when going across void, with ground at y=-64 #80

@astro-angelfish

Description

@astro-angelfish

as the title says, the gpws would fault on going across the void, taking off on other side, with blocks at y=-64

for example, when you go to the void from the top, you need to take off at the void to trigger the error

the error was:

[13:25:52] [Render thread/ERROR]: Exception ticking computer with identifier: flightassistant:ground_proximity
java.lang.IllegalArgumentException: Double value invalid; expected [-64.0; 1.7976931348623157E308], got -64.79999995231628
        at knot//ru.octol1ttle.flightassistant.api.util.MathHelperKt.throwIfNotInRange(MathHelper.kt:52)
        at knot//ru.octol1ttle.flightassistant.impl.computer.safety.GroundProximityComputer.tick(GroundProximityComputer.kt:55)
        at knot//ru.octol1ttle.flightassistant.impl.computer.ComputerHost.tick$flightassistant_fabric(ComputerHost.kt:128)
        at knot//ru.octol1ttle.flightassistant.FlightAssistant.init$lambda$2(FlightAssistant.kt:49)
        at knot//net.minecraft.class_761.handler$cbb000$flightassistant$onStartRender(class_761.java:6063)
        at knot//net.minecraft.class_761.method_22710(class_761.java)
        at knot//net.minecraft.class_757.method_3188(class_757.java:785)
        at knot//net.minecraft.class_757.method_3192(class_757.java:497)
        at knot//net.minecraft.class_310.method_1523(class_310.java:1393)
        at knot//net.minecraft.class_310.method_1514(class_310.java:966)
        at knot//net.minecraft.client.main.Main.main(Main.java:250)
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
        at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

the video to reproduce:

qwq.mp4

The mod list:

$ find . -name '*.jar'                                      
./fabric-api-0.141.3+1.21.11.jar
./lithium-fabric-0.21.3+mc1.21.11.jar
./placeholder-api-2.8.2+1.21.10.jar
./modmenu-17.0.0-beta.2.jar
./appleskin-fabric-mc1.21.11-3.0.8.jar
./cloth-config-21.11.153-fabric.jar
./NoChatReports-FABRIC-1.21.11-v2.18.0.jar
./krypton-0.2.10.jar
./cicada-lib-0.14.3+1.21.9-1.21.10.jar
./worldedit-mod-7.4.0.jar
./clientcommands-2.13.1.jar
./yet_another_config_lib_v3-3.8.2+1.21.11-fabric.jar
./architectury-19.0.1-fabric.jar
./fabric-language-kotlin-1.13.9+kotlin.2.3.10.jar
./fabric-carpet-1.21.11-1.4.194+v251223.jar
./tweakeroo-fabric-1.21.11-0.27.5.jar
./malilib-fabric-1.21.11-0.27.6.jar
./xaeroworldmap-fabric-1.21.11-1.40.11.jar
./minihud-fabric-1.21.11-0.38.3.jar
./litematica-fabric-1.21.11-0.26.0.jar
./xaerominimap-fabric-1.21.11-25.3.10.jar
./flightassistant-fabric-3.0.1+mc1.21.11.jar
./sodium-fabric-0.8.6+mc1.21.11.jar
./iris-fabric-1.10.6+mc1.21.11.jar

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions