Code review comment: Use SpermdonorChildSanctionFactory instead. FatherWaysToDealWithChildSubsystem was deprecated three versions ago and will be removed in the next release.
Also perhaps utilize Sanction.use(ISanctionItem item). You have to inject a belt as singleton to make use of it, but it's much cleaner that way and ensures a clean architecture.
1.1k
u/skwyckl Jun 12 '25
Enterprise Java won't make you happy, but it will feed you and your family (probably)