This commit is contained in:
DNx5 2015-09-20 09:26:29 +07:00
parent b1276da416
commit 4288fa29b6

View File

@ -187,7 +187,7 @@ public class JsonCache {
for (int i = 0; i < arr.size(); i++) { for (int i = 0; i < arr.size(); i++) {
JsonObject item = arr.get(i).getAsJsonObject(); JsonObject item = arr.get(i).getAsJsonObject();
String encoded = item.get("item").getAsString(); String encoded = item.get("item").getAsString();
byte[] decoded = Base64Coder.decode(encoded); byte[] decoded = Base64Coder.decodeLines(encoded);
try { try {
ByteArrayInputStream baos = new ByteArrayInputStream(decoded); ByteArrayInputStream baos = new ByteArrayInputStream(decoded);
BukkitObjectInputStream objectIn = new BukkitObjectInputStream(baos); BukkitObjectInputStream objectIn = new BukkitObjectInputStream(baos);