From 0f2b0afdd7250b459590ba7bc6b52e17b143b01b Mon Sep 17 00:00:00 2001 From: DSH105 Date: Sat, 22 Feb 2014 12:02:52 +1100 Subject: [PATCH] Add apostrophes --- .../java/io/github/dsh105/echopet/config/ConfigOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/dsh105/echopet/config/ConfigOptions.java b/src/main/java/io/github/dsh105/echopet/config/ConfigOptions.java index eb18a570..110a4abb 100644 --- a/src/main/java/io/github/dsh105/echopet/config/ConfigOptions.java +++ b/src/main/java/io/github/dsh105/echopet/config/ConfigOptions.java @@ -127,7 +127,7 @@ public void setDefaults() { set("petSelector.menu.slot-" + friendlySlot + ".petType", icon.getPetType() == null ? "" : icon.getPetType().toString()); set("petSelector.menu.slot-" + friendlySlot + ".materialId", icon.getMaterialId()); set("petSelector.menu.slot-" + friendlySlot + ".materialData", icon.getMaterialData()); - set("petSelector.menu.slot-" + friendlySlot + ".name", icon.getName() == null ? "" : icon.getName()); + set("petSelector.menu.slot-" + friendlySlot + ".name", icon.getName() == null ? "" : "'" + icon.getName() + "'"); set("petSelector.menu.slot-" + friendlySlot + ".lore", icon.getLore() == null || icon.getLore().length <= 0 ? "" : icon.getLore()); } }