mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix brush cache Name
This commit is contained in:
parent
888cbcedee
commit
3414fdd5a0
@ -101,7 +101,7 @@ public final class BrushCache {
|
|||||||
if (secondary == null) secondary = primary;
|
if (secondary == null) secondary = primary;
|
||||||
if (primary != null) {
|
if (primary != null) {
|
||||||
String name = primary == secondary ? primary.split(" ")[0] : primary.split(" ")[0] + " / " + secondary.split(" ")[0];
|
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")) {
|
} else if (map.containsKey("weBrushJson")) {
|
||||||
map.remove("weBrushJson");
|
map.remove("weBrushJson");
|
||||||
|
Loading…
Reference in New Issue
Block a user