You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thenylium
argument in the constructor. This is easily checked by decompiling the resulting DawnAPI jar and noting that the method is not reobfuscated tomethod_9651
as it should be. The method now takesWorldView
rather thanBlockView
.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.The text was updated successfully, but these errors were encountered: