mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2025-02-18 13:21:29 +01:00
bugfix, 6.4.2
This commit is contained in:
parent
e430e399df
commit
e6d82fc70c
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>de.jeffclan</groupId>
|
<groupId>de.jeffclan</groupId>
|
||||||
<artifactId>JeffChestSort</artifactId>
|
<artifactId>JeffChestSort</artifactId>
|
||||||
<version>6.4.1</version>
|
<version>6.4.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>JeffChestSort</name>
|
<name>JeffChestSort</name>
|
||||||
|
@ -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.replace("\\{itemsFirst\\}", String.valueOf(itemsFirst));
|
sortableString = sortableString.replace("{itemsFirst}", String.valueOf(itemsFirst));
|
||||||
sortableString = sortableString.replace("\\{blocksFirst\\}", String.valueOf(blocksFirst));
|
sortableString = sortableString.replace("{blocksFirst}", String.valueOf(blocksFirst));
|
||||||
sortableString = sortableString.replace("\\{name\\}", typeName);
|
sortableString = sortableString.replace("{name}", typeName);
|
||||||
sortableString = sortableString.replace("\\{color\\}", color);
|
sortableString = sortableString.replace("{color}", color);
|
||||||
sortableString = sortableString.replace("\\{category\\}", categorySticky);
|
sortableString = sortableString.replace("{category}", categorySticky);
|
||||||
sortableString = sortableString.replace("\\{keepCategoryOrder\\}", lineNumber);
|
sortableString = sortableString.replace("{keepCategoryOrder}", lineNumber);
|
||||||
sortableString = sortableString.replace("\\{customName\\}", customName);
|
sortableString = sortableString.replace("{customName}", customName);
|
||||||
sortableString = sortableString.replace("\\{lore\\}", lore);
|
sortableString = sortableString.replace("{lore}", lore);
|
||||||
|
|
||||||
return sortableString;
|
return sortableString;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
main: de.jeffclan.JeffChestSort.JeffChestSortPlugin
|
main: de.jeffclan.JeffChestSort.JeffChestSortPlugin
|
||||||
name: ChestSort
|
name: ChestSort
|
||||||
version: 6.4.1
|
version: 6.4.2
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
description: Allows automatic chest sorting
|
description: Allows automatic chest sorting
|
||||||
author: mfnalex
|
author: mfnalex
|
||||||
|
Loading…
Reference in New Issue
Block a user