File tree Expand file tree Collapse file tree 1 file changed +36
-5
lines changed
eco-core/core-plugin/src/main/java/com/willfp/ecoenchants Expand file tree Collapse file tree 1 file changed +36
-5
lines changed Original file line number Diff line number Diff line change 2828import com .willfp .ecoenchants .enchantments .util .WatcherTriggers ;
2929import com .willfp .ecoenchants .integrations .registration .RegistrationManager ;
3030import com .willfp .ecoenchants .integrations .registration .plugins .IntegrationEssentials ;
31- import lombok .Getter ;
3231import org .bukkit .Bukkit ;
3332import org .bukkit .World ;
3433import org .bukkit .event .HandlerList ;
@@ -48,25 +47,21 @@ public class EcoEnchantsPlugin extends EcoPlugin {
4847 /**
4948 * Rarity.yml.
5049 */
51- @ Getter
5250 private final RarityYml rarityYml ;
5351
5452 /**
5553 * Target.yml.
5654 */
57- @ Getter
5855 private final TargetYml targetYml ;
5956
6057 /**
6158 * VanillaEnchants.yml.
6259 */
63- @ Getter
6460 private final VanillaEnchantsYml vanillaEnchantsYml ;
6561
6662 /**
6763 * The data handler.
6864 */
69- @ Getter
7065 private final DataHandler dataHandler ;
7166
7267 /**
@@ -187,4 +182,40 @@ public String getMinimumEcoVersion() {
187182 public static EcoEnchantsPlugin getInstance () {
188183 return instance ;
189184 }
185+
186+ /**
187+ * Get rarity.yml.
188+ *
189+ * @return rarity.yml.
190+ */
191+ public RarityYml getRarityYml () {
192+ return this .rarityYml ;
193+ }
194+
195+ /**
196+ * Get target.yml.
197+ *
198+ * @return target.yml.
199+ */
200+ public TargetYml getTargetYml () {
201+ return this .targetYml ;
202+ }
203+
204+ /**
205+ * Get vanillaenchants.yml.
206+ *
207+ * @return vanillaenchants.yml.
208+ */
209+ public VanillaEnchantsYml getVanillaEnchantsYml () {
210+ return this .vanillaEnchantsYml ;
211+ }
212+
213+ /**
214+ * Get the data handler.
215+ *
216+ * @return The data handler.
217+ */
218+ public DataHandler getDataHandler () {
219+ return this .dataHandler ;
220+ }
190221}
You can’t perform that action at this time.
0 commit comments