diff --git a/gradle.properties b/gradle.properties index 2f567d1..fef4bb4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ group=ink.ptms.um -version=1.1.4 +version=1.1.5 taboolib_version=6.2.2 diff --git a/project/common/src/main/kotlin/ink/ptms/um/Mythic.kt b/project/common/src/main/kotlin/ink/ptms/um/Mythic.kt index b24f613..e35a280 100644 --- a/project/common/src/main/kotlin/ink/ptms/um/Mythic.kt +++ b/project/common/src/main/kotlin/ink/ptms/um/Mythic.kt @@ -23,7 +23,7 @@ interface Mythic { fun getItemStack(name: String): ItemStack? /** 获取 MythicItem 实例并构建到 ItemStack */ - fun getItemStack(name: String, player: Player? = null): ItemStack? + fun getItemStack(name: String, player: Player?): ItemStack? /** 获取 MythicItem ID 列表 */ fun getItemIDList(): List