mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-11 11:58:52 +01:00
12.1.2
This commit is contained in:
parent
3563a827f7
commit
38fe08248a
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 12.1.2
|
||||
- Fixed newlines ("\n") in config.yml breaking the config updater
|
||||
|
||||
## 12.1.1
|
||||
- ChestSort will no longer move any shulkerboxes in the inventory around if this shulkerbox is currently open in ShulkerPacks
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -9,7 +9,7 @@
|
||||
<name>ChestSort</name>
|
||||
<url>https://www.chestsort.de</url>
|
||||
<description>Allows automatic chest sorting!</description>
|
||||
<version>12.1.1</version>
|
||||
<version>12.1.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
|
@ -221,9 +221,9 @@ public final class ConfigUpdater {
|
||||
String value = main.getConfig().get(node).toString();
|
||||
|
||||
// The hologram text needs special escaping for the newline symbols
|
||||
if (node.equals("hologram-text")) {
|
||||
//if (node.equals("hologram-text")) {
|
||||
value = value.replaceAll("\n", "\\\\n");
|
||||
}
|
||||
//}
|
||||
|
||||
updatedLine = node + ": " + quotes + value + quotes;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user