Skip to content

Commit

Permalink
修复边云疆可以给对方换非黑牌的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Oct 23, 2023
1 parent 0e53bee commit f89eae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/skill/JianDiFengXing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class JianDiFengXing : InitialSkill, TriggeredSkill {
(player as? HumanPlayer)?.sendErrorMessage("没有这张牌")
return null
}
if (!card.isPureBlack()) {
if (!card.isBlack()) {
log.error("这张牌不是黑色")
(player as? HumanPlayer)?.sendErrorMessage("这张牌不是黑色")
return null
Expand Down

0 comments on commit f89eae6

Please sign in to comment.