Skip to content

Commit

Permalink
Add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jyhsu2000 committed Jul 23, 2023
1 parent d6f66d9 commit 8c3212d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/club/kid7/bannermaker/util/BannerUtil.java
Expand Up @@ -240,6 +240,13 @@ static public boolean isCraftableInSurvival(ItemStack banner) {
return patternCount <= 6;
}

/**
* 是否可以合成
*
* @param player 玩家
* @param banner 旗幟
* @return 是否可以合成
*/
static public boolean isCraftable(Player player, ItemStack banner) {
//只檢查旗幟
if (!isBanner(banner)) {
Expand Down

0 comments on commit 8c3212d

Please sign in to comment.