@@ -51,6 +51,7 @@ public class MenuItemOptions {
5151    private  final  boolean  unbreakable ;
5252
5353    private  final  boolean  displayNameHasPlaceholders ;
54+     private  final  boolean  materialHasPlaceholders ;
5455    private  final  boolean  loreHasPlaceholders ;
5556    private  final  boolean  hasLore ;
5657    private  final  LoreAppendMode  loreAppendMode ;
@@ -111,6 +112,7 @@ private MenuItemOptions(final @NotNull MenuItemOptionsBuilder builder) {
111112        this .itemFlags .addAll (builder .itemFlags );
112113        this .unbreakable  = builder .unbreakable ;
113114        this .displayNameHasPlaceholders  = builder .displayNameHasPlaceholders ;
115+         this .materialHasPlaceholders  = builder .materialHasPlaceholders ;
114116        this .loreHasPlaceholders  = builder .loreHasPlaceholders ;
115117        this .nbtString  = builder .nbtString ;
116118        this .nbtByte  = builder .nbtByte ;
@@ -246,6 +248,10 @@ public boolean displayNameHasPlaceholders() {
246248        return  displayNameHasPlaceholders ;
247249    }
248250
251+     public  boolean  materialHasPlaceholders () {
252+         return  materialHasPlaceholders ;
253+     }
254+ 
249255    public  boolean  loreHasPlaceholders () {
250256        return  loreHasPlaceholders ;
251257    }
@@ -440,6 +446,7 @@ public static class MenuItemOptionsBuilder {
440446        private  boolean  unbreakable ;
441447
442448        private  boolean  displayNameHasPlaceholders ;
449+         private  boolean  materialHasPlaceholders ;
443450        private  boolean  loreHasPlaceholders ;
444451        private  boolean  hasLore ;
445452        private  LoreAppendMode  loreAppendMode ;
@@ -477,6 +484,9 @@ private MenuItemOptionsBuilder() {
477484
478485        public  MenuItemOptionsBuilder  material (final  @ NotNull  String  configMaterial ) {
479486            this .material  = configMaterial ;
487+             this .materialHasPlaceholders  = DeluxeMenusConfig .containsPlaceholders (this .material );
488+             if  (this .material .contains ("placeholder-%javascript_randomwool%" ))
489+                 System .out .println ("this.materialHasPlaceholders  =>" +this .material +this .materialHasPlaceholders );
480490            return  this ;
481491        }
482492
0 commit comments