Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
Auxilor
2021-09-13 12:12:33 +01:00
6 changed files with 17 additions and 7 deletions

View File

@@ -89,6 +89,7 @@ abstract class EcoSpigotPlugin : EcoPlugin(
override fun handleAfterLoad() {
CustomItemsManager.registerAllItems()
ShopManager.registerEcoProvider()
}
override fun loadIntegrationLoaders(): List<IntegrationLoader> {
@@ -124,7 +125,7 @@ abstract class EcoSpigotPlugin : EcoPlugin(
IntegrationLoader("ItemsAdder") { CustomItemsManager.register(CustomItemsItemsAdder(this)) },
// Shop
IntegrationLoader("ShopGuiPlus") { ShopManager.register(ShopShopGuiPlus()) },
IntegrationLoader("ShopGUIPlus") { ShopManager.register(ShopShopGuiPlus()) },
// Misc
IntegrationLoader("mcMMO") { McmmoManager.register(McmmoIntegrationImpl()) }

View File

@@ -28,4 +28,8 @@ class ShopShopGuiPlus : ShopWrapper {
return Items.getCustomItem(itemStack1)?.key == Items.getCustomItem(itemStack2)?.key
}
}
override fun getPluginName(): String {
return "ShopGUIPlus"
}
}

View File

@@ -21,7 +21,7 @@ softdepend:
- PlaceholderAPI
- mcMMO
- CombatLogX
- ShopGuiPlus
- ShopGUIPlus
- ItemsAdder
- Oraxen
- HeadDatabase