CC: Tweaked

CC: Tweaked

65M Downloads

Change how declaring methods final are done

wolfieboy09 opened this issue ยท 3 comments

commented

I'm making a mod on 1.18.2 (it did not exist, so I might as well make it)

CC: T says I need to mark methods "final" (record class)
Image

I should not need to add "final" to methods that are final by default

commented

Thanks for the report! This has been fixed in recent versions of CC:T (1.109.1 I think, see 84a799d). I'm afraid you're out of luck if you're using 1.18 :/.

commented

No worries, I needed a thing for stoneblock 3, mod does not exist, so might as well make it.
Did not know if it did exist in more recent versions

commented

@SuppressWarnings("FinalMethodInFinalClass") will do the job