plugin-hub icon indicating copy to clipboard operation
plugin-hub copied to clipboard

Create aerial-fishing-pearl-luck

Open H4waiianPunch opened this issue 1 year ago • 2 comments

This plugin tracks the number of fish that it takes to obtain a Molch Pearl. It will also track your biggest dry streak with persistence via the profile. Lastly, it will give the rough odds of a user getting the Golden Tench.

H4waiianPunch avatar Oct 25 '24 02:10 H4waiianPunch

New plugin aerial-fishing-pearl-luck: https://github.com/H4waiianPunch/Pearl-Luck-Tracker/tree/baaf25bb769a4087ea19193a570cb3dea18e209b

Downgrade log.info calls to log.debug https://github.com/H4waiianPunch/Pearl-Luck-Tracker/blob/9dd68e27417cde0a37ec72a9332e66ed073f3faa/src/main/java/com/AerialFishingPearlLuck/AerialFishingPlugin.java#L78

LlemonDuck avatar Oct 25 '24 10:10 LlemonDuck

don't do this, you're duplicating the config instance https://github.com/H4waiianPunch/Pearl-Luck-Tracker/blob/63f08e8f47870cc82bf3cc0c494f11063e6259bc/src/main/java/com/AerialFishingPearlLuck/AerialFishingPlugin.java#L50

@Provides registers the object to the injector module, so you can just use

@Inject
AerialFishingConfig config;

LlemonDuck avatar Oct 27 '24 07:10 LlemonDuck