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)
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)