mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-24 19:32:23 +00:00
Fix JSON builder not parsing '§r'
This commit is contained in:
parent
fd5ebd0921
commit
f15fdc781f
@ -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;
|
||||
@ -147,7 +147,7 @@ public class JsonBuilder {
|
||||
|
||||
matcher.reset();
|
||||
|
||||
PartArray array = new PartArray();
|
||||
PartArray array = new PartArray(new Part());
|
||||
int lastEndIndex = 0;
|
||||
|
||||
while (matcher.find()) {
|
||||
|
Loading…
Reference in New Issue
Block a user