Skip to content

Commit

Permalink
Merge pull request #106 from HelpChat/feat/remove-legacy-banner-stuff
Browse files Browse the repository at this point in the history
feat: remove legacy banner setcolor
  • Loading branch information
BlitzOffline authored Jun 18, 2024
2 parents 6b9ae83 + 7906b69 commit f407c10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/extendedclip/deluxemenus/menu/MenuItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ public ItemStack getItemStack(@NotNull final MenuHolder holder) {
if (ItemUtils.isBanner(itemStack.getType())) {
final BannerMeta meta = (BannerMeta) itemStack.getItemMeta();
if (meta != null) {
if (this.options.baseColor().isPresent()) {
meta.setBaseColor(this.options.baseColor().get());
}
if (!this.options.bannerMeta().isEmpty()) {
meta.setPatterns(this.options.bannerMeta());
}
Expand Down

0 comments on commit f407c10

Please sign in to comment.