mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-24 20:07:34 +01:00
Fixed deprecation
This commit is contained in:
parent
8780bd9b5f
commit
0b4899d3e2
@ -74,7 +74,7 @@ public class EcoEnchantsPlugin extends EcoPlugin {
|
|||||||
* Internal constructor called by bukkit on plugin load.
|
* Internal constructor called by bukkit on plugin load.
|
||||||
*/
|
*/
|
||||||
public EcoEnchantsPlugin() {
|
public EcoEnchantsPlugin() {
|
||||||
super("EcoEnchants", 79573, 7666, "com.willfp.ecoenchants.proxy", "&a");
|
super(79573, 7666, "com.willfp.ecoenchants.proxy", "&a");
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
rarityYml = new RarityYml(this);
|
rarityYml = new RarityYml(this);
|
||||||
|
@ -54,7 +54,7 @@ public class WatcherTriggers extends PluginDependent implements Listener {
|
|||||||
*/
|
*/
|
||||||
@ConfigUpdater
|
@ConfigUpdater
|
||||||
public static void update(@NotNull final EcoEnchantsPlugin plugin) {
|
public static void update(@NotNull final EcoEnchantsPlugin plugin) {
|
||||||
allowOnNPC = plugin.getConfig().getBoolean("allow-on-npc");
|
allowOnNPC = plugin.getConfigYml().getBool("allow-on-npc");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user