Fix JsonBuilder (in old implemetation)

This commit is contained in:
Eric 2019-12-14 12:43:11 +01:00
parent bd3dd17621
commit e06e143bc0

View File

@ -108,7 +108,7 @@ public class JsonBuilder {
}
}
private static final Pattern PART_PATTERN = Pattern.compile("(([§][a-fA-Fl-oL-OkK0-9])+)([^§]*)");
private static final Pattern PART_PATTERN = Pattern.compile("(([§][a-fA-Fk-oK-OrR0-9])+)([^§]*)");
private Part rootPart;
private ShopChest plugin;
@ -171,7 +171,7 @@ public class JsonBuilder {
case "":
break;
case "k":
part.setValue("obuscated", new Part(true));
part.setValue("obfuscated", new Part(true));
break;
case "l":
part.setValue("bold", new Part(true));