Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Commit 41ba571

Browse files
committed
api: バージョンを v1.7.0-SNAPSHOT にした
1 parent ac13076 commit 41ba571

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

api/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111
}
1212

1313
group = "com.github.sya-ri.spigot.api"
14-
version = "1.6.1"
14+
version = "1.7.0"
1515

1616
bukkit {
1717
name = "EasySpigotAPI"

api/src/main/kotlin/com/github/syari/spigot/api/config/type/data/ConfigInventoryDataType.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ class ConfigInventoryDataType(private val itemConverter: ConfigItemConverter) :
4444
path: String,
4545
value: Map<Int, ItemStack>?
4646
) {
47+
config.setNull(path)
4748
value?.forEach { (slot, item) ->
4849
config.set("$path.$slot", ConfigDataType.String, itemConverter.itemToString(item))
49-
} ?: config.setNull(path)
50+
}
5051
}
5152
}

0 commit comments

Comments
 (0)