bugfix, 6.4.2

This commit is contained in:
mfnalex 2019-07-16 22:48:17 +02:00
parent e430e399df
commit e6d82fc70c
3 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@
<groupId>de.jeffclan</groupId>
<artifactId>JeffChestSort</artifactId>
<version>6.4.1</version>
<version>6.4.2</version>
<packaging>jar</packaging>
<name>JeffChestSort</name>

View File

@ -319,14 +319,14 @@ public class JeffChestSortOrganizer {
// Generate the strings that finally are used for sorting.
// They are generated according to the config.yml's sorting-method option
String sortableString = plugin.sortingMethod.replaceAll(",", "|");
sortableString = sortableString.replace("\\{itemsFirst\\}", String.valueOf(itemsFirst));
sortableString = sortableString.replace("\\{blocksFirst\\}", String.valueOf(blocksFirst));
sortableString = sortableString.replace("\\{name\\}", typeName);
sortableString = sortableString.replace("\\{color\\}", color);
sortableString = sortableString.replace("\\{category\\}", categorySticky);
sortableString = sortableString.replace("\\{keepCategoryOrder\\}", lineNumber);
sortableString = sortableString.replace("\\{customName\\}", customName);
sortableString = sortableString.replace("\\{lore\\}", lore);
sortableString = sortableString.replace("{itemsFirst}", String.valueOf(itemsFirst));
sortableString = sortableString.replace("{blocksFirst}", String.valueOf(blocksFirst));
sortableString = sortableString.replace("{name}", typeName);
sortableString = sortableString.replace("{color}", color);
sortableString = sortableString.replace("{category}", categorySticky);
sortableString = sortableString.replace("{keepCategoryOrder}", lineNumber);
sortableString = sortableString.replace("{customName}", customName);
sortableString = sortableString.replace("{lore}", lore);
return sortableString;

View File

@ -1,6 +1,6 @@
main: de.jeffclan.JeffChestSort.JeffChestSortPlugin
name: ChestSort
version: 6.4.1
version: 6.4.2
api-version: 1.13
description: Allows automatic chest sorting
author: mfnalex