3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Fix brush cache Name

Dieser Commit ist enthalten in:
Jesse Boyd 2018-10-13 18:55:09 +11:00
Ursprung 888cbcedee
Commit 3414fdd5a0
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -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");