From 3414fdd5a0cc83f795d7357453e7de568ef27beb Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 13 Oct 2018 18:55:09 +1100 Subject: [PATCH] Fix brush cache Name --- .../src/main/java/com/boydti/fawe/util/BrushCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java b/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java index cbd21184d..b67200a35 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/util/BrushCache.java @@ -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");