Skip to content

Commit

Permalink
Remove my discord link from default messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsLewizzz committed Jun 15, 2020
1 parent 3673469 commit bc86eea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ItemStackBuilder(ItemStack item) {
}

public static ItemStackBuilder getItemStack(ConfigurationSection section, Player player) {
ItemStack item = XMaterial.matchXMaterial(section.getString("material")).get().parseItem();
ItemStack item = XMaterial.matchXMaterial(section.getString("material").toUpperCase()).get().parseItem();

if (item.getType() == XMaterial.PLAYER_HEAD.parseMaterial()) {
if (section.contains("base64")) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ join_events:
- "[MESSAGE] &r"
- "[MESSAGE] &r &2&lWEBSITE &fwww.examplemc.net"
- "[MESSAGE] &r &3&lSTORE &fstore.examplemc.net"
- "[MESSAGE] &r &9&lDISCORD &fhttps://discord.lewisdev.fun"
- "[MESSAGE] &r &9&lDISCORD &fdiscord.examplemc.net"
- "[MESSAGE] &r"
- "[MESSAGE] &r &7&oPowered By DeluxeHub"
- "[MESSAGE] &8&m+---------------***---------------+"
Expand Down Expand Up @@ -340,7 +340,7 @@ custom_join_items:
- "[MESSAGE] &r"
- "[MESSAGE] &bWebsite: &fwww.examplemc.net"
- "[MESSAGE] &cStore: &fbuy.examplemc.net"
- "[MESSAGE] &dDiscord: &fhttps://discord.lewisdev.fun"
- "[MESSAGE] &dDiscord: &fdiscord.examplemc.net"
- "[MESSAGE] &r"
server_selector:
material: NETHER_STAR
Expand Down

0 comments on commit bc86eea

Please sign in to comment.