Skip to content

Commit

Permalink
Delomboked EcoEnchantsPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Oct 18, 2021
1 parent a659621 commit b713c60
Showing 1 changed file with 36 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.willfp.ecoenchants.enchantments.util.WatcherTriggers;
import com.willfp.ecoenchants.integrations.registration.RegistrationManager;
import com.willfp.ecoenchants.integrations.registration.plugins.IntegrationEssentials;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.event.HandlerList;
Expand All @@ -48,25 +47,21 @@ public class EcoEnchantsPlugin extends EcoPlugin {
/**
* Rarity.yml.
*/
@Getter
private final RarityYml rarityYml;

/**
* Target.yml.
*/
@Getter
private final TargetYml targetYml;

/**
* VanillaEnchants.yml.
*/
@Getter
private final VanillaEnchantsYml vanillaEnchantsYml;

/**
* The data handler.
*/
@Getter
private final DataHandler dataHandler;

/**
Expand Down Expand Up @@ -187,4 +182,40 @@ public String getMinimumEcoVersion() {
public static EcoEnchantsPlugin getInstance() {
return instance;
}

/**
* Get rarity.yml.
*
* @return rarity.yml.
*/
public RarityYml getRarityYml() {
return this.rarityYml;
}

/**
* Get target.yml.
*
* @return target.yml.
*/
public TargetYml getTargetYml() {
return this.targetYml;
}

/**
* Get vanillaenchants.yml.
*
* @return vanillaenchants.yml.
*/
public VanillaEnchantsYml getVanillaEnchantsYml() {
return this.vanillaEnchantsYml;
}

/**
* Get the data handler.
*
* @return The data handler.
*/
public DataHandler getDataHandler() {
return this.dataHandler;
}
}

0 comments on commit b713c60

Please sign in to comment.