mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-30 12:29:10 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca41b54daa | ||
|
|
ff9e16a25f | ||
|
|
c0d94f6150 | ||
|
|
4b3bf30a9b |
@@ -45,7 +45,7 @@ allprojects {
|
||||
|
||||
dependencies {
|
||||
compileOnly 'com.willfp:eco:6.44.0'
|
||||
implementation 'com.willfp:libreforge:3.115.0'
|
||||
implementation 'com.willfp:libreforge:3.116.0'
|
||||
implementation 'org.joml:joml:1.10.4'
|
||||
|
||||
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.willfp.reforges.reforges
|
||||
import com.google.common.collect.HashBiMap
|
||||
import com.google.common.collect.ImmutableSet
|
||||
import com.willfp.eco.core.config.ConfigType
|
||||
import com.willfp.eco.core.config.TransientConfig
|
||||
import com.willfp.eco.core.config.readConfig
|
||||
import com.willfp.eco.core.config.updating.ConfigUpdater
|
||||
import com.willfp.libreforge.chains.EffectChains
|
||||
import com.willfp.reforges.ReforgesPlugin
|
||||
@@ -54,7 +54,7 @@ object Reforges {
|
||||
@ConfigUpdater
|
||||
@JvmStatic
|
||||
fun update(plugin: ReforgesPlugin) {
|
||||
val reforgesYml = TransientConfig(File(plugin.dataFolder, "reforges.yml"), ConfigType.YAML)
|
||||
val reforgesYml = File(plugin.dataFolder, "reforges.yml").readConfig(ConfigType.YAML)
|
||||
|
||||
for (config in reforgesYml.getSubsections("chains")) {
|
||||
EffectChains.compile(config, "Chains")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#libreforge-updater
|
||||
#Mon Oct 24 17:05:03 BST 2022
|
||||
version=5.66.0
|
||||
#Fri Oct 28 11:34:59 BST 2022
|
||||
version=5.67.0
|
||||
plugin-name=Reforges
|
||||
|
||||
Reference in New Issue
Block a user