-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
ideally want to remove so much unnecessary chaining of objects, i.e passing around an instance of SpawnerShop to a bunch of other class when we really just need config options.
would be great to use enums, but not sure how.
current bad instances:
valid = sign.getLine(0).equalsIgnoreCase(spawnerShop.util.translateColors(spawnerShop.config.getString("options.sign-title"))); (in shopsign)
plugin.config.getString("options.no-permission")) (all over listeners)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels