mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
add copper items
This commit is contained in:
parent
3ab6dbc155
commit
5bdd2f9b4c
6 changed files with 110 additions and 32 deletions
|
|
@ -139,11 +139,8 @@ open class CustomAnvil : JavaPlugin() {
|
|||
return
|
||||
}
|
||||
|
||||
// temporary: handle 1.21 update
|
||||
Update_1_21.handleUpdate()
|
||||
|
||||
// plugin configuration updates
|
||||
PluginUpdates.handlePluginUpdate()
|
||||
// Handle minecraft and plugin updates
|
||||
PluginUpdates.handleUpdates()
|
||||
|
||||
// Register enchantment of compatible plugin and load configuration change.
|
||||
DependencyManager.handleCompatibilityConfig()
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import xyz.alexcrea.cuanvil.api.event.CAConfigReadyEvent
|
|||
import xyz.alexcrea.cuanvil.config.ConfigHolder
|
||||
import xyz.alexcrea.cuanvil.dependency.DependencyManager
|
||||
import xyz.alexcrea.cuanvil.gui.config.global.*
|
||||
import xyz.alexcrea.cuanvil.update.Update_1_21
|
||||
import xyz.alexcrea.cuanvil.update.plugin.PluginUpdates
|
||||
|
||||
class ReloadExecutor : CommandExecutor {
|
||||
override fun onCommand(sender: CommandSender, cmd: Command, cmdstr: String, args: Array<out String>): Boolean {
|
||||
|
|
@ -48,8 +48,8 @@ class ReloadExecutor : CommandExecutor {
|
|||
UnitRepairConfigGui.getCurrentInstance()?.reloadValues()
|
||||
CustomRecipeConfigGui.getCurrentInstance()?.reloadValues()
|
||||
|
||||
// temporary: handle 1.21 update
|
||||
Update_1_21.handleUpdate()
|
||||
// handle minecraft version update
|
||||
PluginUpdates.handleMCVersionUpdate()
|
||||
|
||||
// Handle dependency reload
|
||||
DependencyManager.handleConfigReload()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue