Skip to content

Commit

Permalink
Improved item tags
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Jul 20, 2024
1 parent 79db597 commit cbf88ce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ abstract class EcoSpigotPlugin : EcoPlugin() {
if (!Prerequisite.HAS_PAPER.isMet) {
bukkitAudiences = BukkitAudiences.create(this)
}

// Init vanilla item tags
VanillaItemTags.register()
}

override fun handleDisable() {
Expand Down Expand Up @@ -301,9 +304,6 @@ abstract class EcoSpigotPlugin : EcoPlugin() {
CustomItemsManager.registerAllItems()
CustomEntitiesManager.registerAllEntities()
ShopManager.registerEcoProvider()

// Init vanilla item tags, done in afterLoad to ensure tags have been loaded
VanillaItemTags.register()
}

override fun loadIntegrationLoaders(): List<IntegrationLoader> {
Expand Down

0 comments on commit cbf88ce

Please sign in to comment.