Fixed load order

This commit is contained in:
Auxilor
2022-02-08 20:32:49 +00:00
parent ff7c6139e5
commit bbb3b59646

View File

@@ -24,10 +24,13 @@ class EcoItemsPlugin : LibReforgePlugin(1241, 12205, "&#ff0000") {
init {
instance = this
itemsYml = ItemsYml(this)
EcoItems.update(this) // Preliminary update
registerHolderProvider { ItemUtils.getEcoItemOnPlayer(it).toSingletonList() }
}
override fun handleEnableAdditional() {
EcoItems.update(this) // Preliminary update
}
override fun handleReloadAdditional() {
FuelHandler.createRunnable(this)
}