Skip to content

[Crash] NPE at ContinuousOBBCollider.collideMany triggered by propeller_collision Mixin #974

@BrayanCordova1

Description

@BrayanCordova1

Context

Describe the bug:
The server crashed instantly with a NullPointerException inside Create's ContinuousOBBCollider, the crash seems to be triggered by a missing axis value (mf.axis is null) when calculating collisions for a moving contraption, specifically involving the propeller_collision Mixin from Aeronautics and Sable's Create compatibility Mixin.

To Reproduce:
It happened unexpectedly on our multiplayer server, likely when a player activated a contraption utilizing an Aeronautics propeller. The collider failed to determine the axis during an entity collision check.

Versions:

  • Minecraft: 1.21.1
  • NeoForge: 21.1.228
  • Create: 6.0.10
  • Sable: 1.2.2
  • Aeronautics (Bundled): 1.2.1

Stacktrace highlight:
java.lang.NullPointerException: Cannot read field "x" because "mf.axis" is null
at com.simibubi.create.foundation.collision.ContinuousOBBCollider.collideMany
at com.simibubi.create.content.contraptions.ContraptionCollider.collideEntities
(Mixins: aeronautics:propeller_collision.ContraptionColliderMixin, sable-neoforge:compatibility.create.contraptions.ContraptionColliderMixin)

Crash Report

https://mclo.gs/Rzx6ekV

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: crashSomething crashes my game

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions