Skip to content

Commit

Permalink
Merge pull request #2 from YsGqHY/master
Browse files Browse the repository at this point in the history
[publish] beta 34 fix getTargetedEntity()
  • Loading branch information
Bkm016 authored Nov 5, 2023
2 parents 4c00ee7 + d875b2d commit bd614e1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ taboolib{
relocate("ink.ptms.um","xx.um")
}

taboo("ink.ptms:um:1.0.0-beta-33")
taboo("ink.ptms:um:1.0.0-beta-34")
```
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=ink.ptms.um
version=1.0.0-beta-33
version=1.0.0-beta-34
taboolib_version=6.0.12-26
2 changes: 1 addition & 1 deletion project/common/src/main/kotlin/ink/ptms/um/Mythic.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ interface Mythic {
*
* @param player 玩家
*/
fun getTargetedEntity(player: Player): LivingEntity
fun getTargetedEntity(player: Player): LivingEntity?

/**
* 释放技能
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal class Mythic4 : Mythic {

override val isLegacy = true

override fun getTargetedEntity(player: Player): LivingEntity {
override fun getTargetedEntity(player: Player): LivingEntity? {
return MythicUtil.getTargetedEntity(player)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internal class Mythic5 : Mythic {
return Skill5(api.skillManager.getMechanic(MythicLineConfigImpl.unparseBlock(skillLine)) ?: return null)
}

override fun getTargetedEntity(player: Player): LivingEntity {
override fun getTargetedEntity(player: Player): LivingEntity? {
return MythicUtil.getTargetedEntity(player)
}

Expand Down

0 comments on commit bd614e1

Please sign in to comment.