Fix brush cache Name

This commit is contained in:
Jesse Boyd 2018-10-13 18:55:09 +11:00
parent 888cbcedee
commit 3414fdd5a0
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -101,7 +101,7 @@ public final class BrushCache {
if (secondary == null) secondary = primary;
if (primary != null) {
String name = primary == secondary ? primary.split(" ")[0] : primary.split(" ")[0] + " / " + secondary.split(" ")[0];
displayMap.put("Name", new StringTag(name));
displayMap.put("Name", new StringTag("{\"text\":\"" + name + "\"}"));
}
} else if (map.containsKey("weBrushJson")) {
map.remove("weBrushJson");