MC  Eternal

MC Eternal

4M Downloads

TreeChop and FutureMC sweet berry bush IllegalArgumentException, 1.4.2 Beta

incomingnerd opened this issue ยท 2 comments

commented

Describe the bug
TreeChop mod causes an IllegalArgumentException and crash to title screen when a tree is in contact with a FutureMC sweet berry bush.

Version of MC Eternal
1.4.2 Beta

To Reproduce
Steps to reproduce the behavior:

  1. Find a tree with a sweet berry bush touching it
  2. Try to chop down the tree
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method thedarkcolour.futuremc.block.villagepillage.SweetBerryBushBlock.getPickBlock, parameter target
    at thedarkcolour.futuremc.block.villagepillage.SweetBerryBushBlock.getPickBlock(SweetBerryBushBlock.kt)
    at ht.treechop.common.util.ChopUtil.isBlockLeaves(ChopUtil.java:80)
    ...
commented

I personally experienced this, and suspected it might have been the bush.
Redirect to HT's Tree Chop mod author here: https://github.com/hammertater/treechop/issues