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 bd462ec commit ae8d658
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,10 @@ public static ItemStack createTextItem(ItemStack item, List<String> textList){
}
List<String> contentList = null;
if (textList.size() > 1){
contentList = textList.subList(1, textList.size());
contentList = new ArrayList<>();
for (var text : textList.subList(1, textList.size())){
contentList.add("§r§f" + text);
}
}
item = item.clone();
var meta = item.getItemMeta();
Expand Down

0 comments on commit ae8d658

Please sign in to comment.