Fix import plugin bug
This commit is contained in:
parent
cfff07567d
commit
8c74ec4d3e
1 changed files with 1 additions and 1 deletions
|
@ -2493,7 +2493,7 @@ public class SettingsHelper {
|
||||||
if (fileName.equals("items.json")) {
|
if (fileName.equals("items.json")) {
|
||||||
String itemsJson = null;
|
String itemsJson = null;
|
||||||
try {
|
try {
|
||||||
itemsJson = Algorithms.readFromInputStream(ois).toString();
|
itemsJson = Algorithms.readFromInputStream(ois, false).toString();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.error("Error reading items.json: " + itemsJson, e);
|
LOG.error("Error reading items.json: " + itemsJson, e);
|
||||||
throw new IllegalArgumentException("No items");
|
throw new IllegalArgumentException("No items");
|
||||||
|
|
Loading…
Reference in a new issue