mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-30 06:33:27 +01:00
6.4.2 possible fix for "illegal group reference"
This commit is contained in:
parent
482939fd5e
commit
e430e399df
@ -319,14 +319,14 @@ public class JeffChestSortOrganizer {
|
|||||||
// Generate the strings that finally are used for sorting.
|
// Generate the strings that finally are used for sorting.
|
||||||
// They are generated according to the config.yml's sorting-method option
|
// They are generated according to the config.yml's sorting-method option
|
||||||
String sortableString = plugin.sortingMethod.replaceAll(",", "|");
|
String sortableString = plugin.sortingMethod.replaceAll(",", "|");
|
||||||
sortableString = sortableString.replaceAll("\\{itemsFirst\\}", String.valueOf(itemsFirst));
|
sortableString = sortableString.replace("\\{itemsFirst\\}", String.valueOf(itemsFirst));
|
||||||
sortableString = sortableString.replaceAll("\\{blocksFirst\\}", String.valueOf(blocksFirst));
|
sortableString = sortableString.replace("\\{blocksFirst\\}", String.valueOf(blocksFirst));
|
||||||
sortableString = sortableString.replaceAll("\\{name\\}", typeName);
|
sortableString = sortableString.replace("\\{name\\}", typeName);
|
||||||
sortableString = sortableString.replaceAll("\\{color\\}", color);
|
sortableString = sortableString.replace("\\{color\\}", color);
|
||||||
sortableString = sortableString.replaceAll("\\{category\\}", categorySticky);
|
sortableString = sortableString.replace("\\{category\\}", categorySticky);
|
||||||
sortableString = sortableString.replaceAll("\\{keepCategoryOrder\\}", lineNumber);
|
sortableString = sortableString.replace("\\{keepCategoryOrder\\}", lineNumber);
|
||||||
sortableString = sortableString.replaceAll("\\{customName\\}", customName);
|
sortableString = sortableString.replace("\\{customName\\}", customName);
|
||||||
sortableString = sortableString.replaceAll("\\{lore\\}", lore);
|
sortableString = sortableString.replace("\\{lore\\}", lore);
|
||||||
|
|
||||||
return sortableString;
|
return sortableString;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user