mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-10-08 04:29:24 +02:00
Provide ItemDb provider with other providers
Provide providers to the provider that needs the providers. Provider provider provider provide provider.
This commit is contained in:
parent
c27d05fd4b
commit
773979cb37
@ -238,6 +238,9 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
||||
BasePotionDataProvider.class,
|
||||
LegacyPotionMetaProvider.class
|
||||
), "potion meta").getProvider();
|
||||
itemDbProvider.setSpawnerProvider(spawnerProvider);
|
||||
itemDbProvider.setSpawnEggProvider(spawnEggProvider);
|
||||
itemDbProvider.setPotionMetaProvider(potionMetaProvider);
|
||||
reload();
|
||||
} catch (YAMLException exception) {
|
||||
if (pm.getPlugin("EssentialsUpdate") != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user