File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/xyz/theprogramsrc/supercoreapi/spigot/items Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >xyz.theprogramsrc</groupId >
8
8
<artifactId >SuperCoreAPI</artifactId >
9
- <version >3.6.0_BETA1 </version >
9
+ <version >3.6.0_BETA2 </version >
10
10
<packaging >jar</packaging >
11
11
12
12
<name >SuperCoreAPI</name >
Original file line number Diff line number Diff line change @@ -482,15 +482,15 @@ public ItemStack build(){
482
482
483
483
meta .setDisplayName (this .apply (Utils .ct (this .getDisplayName ())));
484
484
meta .setLore (this .apply (Utils .ct (this .getLore ())));
485
- meta . getItemFlags (). addAll ( this .getFlags ());
485
+ this .getFlags (). forEach ( meta :: addItemFlags );
486
486
item .setItemMeta (meta );
487
487
}
488
488
}else {
489
489
ItemMeta meta = item .getItemMeta ();
490
490
if (meta != null ){
491
491
meta .setDisplayName (this .apply (Utils .ct (this .getDisplayName ())));
492
492
meta .setLore (this .apply (Utils .ct (this .getLore ())));
493
- meta . getItemFlags (). addAll ( this .getFlags ());
493
+ this .getFlags (). forEach ( meta :: addItemFlags );
494
494
item .setItemMeta (meta );
495
495
}
496
496
}
You can’t perform that action at this time.
0 commit comments