mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-26 20:48:12 +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>
|
||||
<artifactId>JeffChestSort</artifactId>
|
||||
<version>6.4.1</version>
|
||||
<version>6.4.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>JeffChestSort</name>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user