Skip to content

Commit

Permalink
gui: 一些优化
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvigarabis committed Jan 4, 2024
1 parent ae8d658 commit 99b7931
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,9 @@ public static ItemStack createTextItem(ItemStack item, String... texts){
}
public static ItemStack createTextItem(ItemStack item, List<String> textList){
String titleText;
try {
if (textList.size() > 0){
titleText = textList.get(0);
} catch(java.lang.IndexOutOfBoundsException ignored){
} else {
titleText = "";
}
List<String> contentList = null;
Expand Down

0 comments on commit 99b7931

Please sign in to comment.