The Twilight Forest

The Twilight Forest

140M Downloads

NPE in custom TFArrow with nullable param

someaddons opened this issue ยท 0 comments

commented

Forge Version

47.2.0

Twilight Forest Version

twilightforest-1.20.1-4.3.1893-universal

Client Log

No response

Crash Report (if applicable)

No response

Steps to Reproduce

Combine TF with other mods e.g. minecolonies npc's using a bow of TF

What You Expected

public TFArrow(EntityType<? extends TFArrow> type, Level level, @Nullable Entity shooter, ItemStack stack) {

A nullable param should be checked for null before being used

What Happened Instead

crash on null

Additional Details

No response

Please Read and Confirm The Following

  • I have confirmed this bug can be replicated without the use of Optifine.
  • I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
  • I have confirmed this issue is unique and has not been reported already.