This commit is contained in:
Jesse Boyd 2017-02-15 14:26:40 +11:00
parent 47b7e858ff
commit 0af82fd31f
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ext {
date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
parents = git.head().parentIds;
index = -69; // Offset to mach CI
index = -70; // Offset to mach CI
int major, minor, patch;
major = minor = patch = 0;
for (;parents != null && !parents.isEmpty();index++) {

View File

@ -216,7 +216,10 @@ public class BundledBlockData {
int len = dir.values.size();
int index = 0;
for (Map.Entry<String, FaweStateValue> valuesEntry : dir.values.entrySet()) {
valuesEntry.getValue().setDirection(dirs[index]);
FaweStateValue state = valuesEntry.getValue();
if (state != null) {
state.setDirection(dirs[index]);
}
index++;
}
return true;