Skip to content

Fungus cannot be bonemealed #38

@unascribed

Description

@unascribed

Noticed in the BlanketCon 23 pack with Dark Amaranth Fungus from Promenade, but not reporting there as it's not important for the con.

Due to a change in the signature of isFertilizable the method in DawnFungusBlock is no longer an override. As such, it falls back to the super implementation — which always fails due to passing null for the nylium argument in the constructor. This is easily checked by decompiling the resulting DawnAPI jar and noting that the method is not reobfuscated to method_9651 as it should be. The method now takes WorldView rather than BlockView.

This exact issue is what @Override is meant to catch — you should tag every single method that overrides a super with it so you're alerted with a compile error if the name or signature of the method you're overriding changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions