Merge pull request #839 from creeper123123321/dev2

Fix block tags
This commit is contained in:
Mats 2018-06-05 20:58:28 +02:00 committed by GitHub
commit fe71654f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 538 additions and 4140 deletions

View File

@ -58,7 +58,7 @@ public class MappingData {
JsonArray ids = entry.getValue().getAsJsonArray(); JsonArray ids = entry.getValue().getAsJsonArray();
int[] idsArray = new int[ids.size()]; int[] idsArray = new int[ids.size()];
for (int i = 0; i < ids.size(); i++) { for (int i = 0; i < ids.size(); i++) {
idsArray[i] = Integer.parseInt(ids.get(i).getAsString()); idsArray[i] = ids.get(i).getAsInt();
} }
output.put(entry.getKey(), idsArray); output.put(entry.getKey(), idsArray);
} }