Fix import plugin bug

This commit is contained in:
max-klaus 2020-07-21 13:50:01 +03:00
parent cfff07567d
commit 8c74ec4d3e

View file

@ -2493,7 +2493,7 @@ public class SettingsHelper {
if (fileName.equals("items.json")) {
String itemsJson = null;
try {
itemsJson = Algorithms.readFromInputStream(ois).toString();
itemsJson = Algorithms.readFromInputStream(ois, false).toString();
} catch (IOException e) {
LOG.error("Error reading items.json: " + itemsJson, e);
throw new IllegalArgumentException("No items");