Immersive Engineering

Immersive Engineering

134M Downloads

[1.16.3] FireworkBullet in Turret->Crash

mpmxyz opened this issue ยท 0 comments

commented

Somebody mentioned this issue in a sidenote (#4348) but didn't have a crash log:

Here it is!

How to reproduce

Enable a gun turret with a firework bullet - the game crashes when it fires. (implies having energy and a target)

Cause of Crash

TurretGunTileEntity.activate calls FireworkBullet.getProjectile with parameter 'shooter' == null
The crash is caused by some code not expecting a null argument.

Versions & Modlist

Forge: 34.1.0
IE: 1.16.3-4.1.0-124