mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-17 22:57:52 +01:00
Added default white color to gamemode addons' icons name
This commit is contained in:
parent
c687d18385
commit
aeb0e7d4fa
@ -1,5 +1,6 @@
|
||||
package world.bentobox.bentobox.panels;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import world.bentobox.bentobox.BentoBox;
|
||||
import world.bentobox.bentobox.api.addons.Addon;
|
||||
@ -54,7 +55,7 @@ public class ManagementPanel {
|
||||
for (Addon addon : addons) {
|
||||
PanelItem addonItem = new PanelItemBuilder()
|
||||
.icon(addon.getDescription().getIcon())
|
||||
.name(addon.getDescription().getName())
|
||||
.name(ChatColor.WHITE + addon.getDescription().getName())
|
||||
.build();
|
||||
|
||||
builder.item(startSlot + i, addonItem);
|
||||
|
Loading…
Reference in New Issue
Block a user