Lance5057 / Butchercraft

Other
10 stars 7 forks source link

2.3.1 crashing when trying to spawn an 'Army' #77

Closed brisingraerowing closed 5 months ago

brisingraerowing commented 5 months ago

Crash Log

This is probably a mod conflict. I'll do some testing.

EDIT: Reviewing the log, it seems that this is the Apathy mod breaking. Reported there.

Ref: quat1024/apathy#25

Lance5057 commented 5 months ago

Looks like they need to add a null check of some kind, I don't know mixin's or I'd help.

brisingraerowing commented 5 months ago

I made a local change to fix it, so I can still play without crashing.

Lightman314 commented 5 months ago

The MobSpawnType field of the EntityType#spawn function is not flagged as nullable, and therefore should not be receiving a null value. A null check should not be necessary.

See my comment here for my full statement/research.