Skip to content

Commit b713c60

Browse files
committed
Delomboked EcoEnchantsPlugin
1 parent a659621 commit b713c60

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/EcoEnchantsPlugin.java

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import com.willfp.ecoenchants.enchantments.util.WatcherTriggers;
2929
import com.willfp.ecoenchants.integrations.registration.RegistrationManager;
3030
import com.willfp.ecoenchants.integrations.registration.plugins.IntegrationEssentials;
31-
import lombok.Getter;
3231
import org.bukkit.Bukkit;
3332
import org.bukkit.World;
3433
import 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
}

0 commit comments

Comments
 (0)