Possibly Fix #247

This commit is contained in:
Rsl1122 2017-08-18 10:04:38 +03:00
parent 7ee1c6eef6
commit 9e76dfdb4d
2 changed files with 7 additions and 3 deletions

View File

@ -47,8 +47,12 @@ public class PunchCardGraphCreator {
if (value == 0) {
continue;
}
arrayBuilder.append("{x:").append(j * 3600000)
.append(", y:").append(i)
if (j == 0) {
arrayBuilder.append("{x:").append(24 * 3600000);
} else {
arrayBuilder.append("{x:").append(j * 3600000);
}
arrayBuilder.append(", y:").append(i)
.append(", z:").append(value).
append(", marker: { radius:").append(value)
.append("}}");

View File

@ -229,7 +229,7 @@ public class Analysis {
if (analysisTypes.contains(boolTot)) {
replaceMap.put(source.getPlaceholder(boolTot.getPlaceholderModifier()), AnalysisUtils.getBooleanTotal(boolTot, source, uuids));
}
} catch (Exception | NoClassDefFoundError | NoSuchFieldError e) {
} catch (Exception | NoClassDefFoundError | NoSuchFieldError | NoSuchMethodError e) {
Log.error("A PluginData-source caused an exception: " + source.getPlaceholder("").replace("%", ""));
Log.toLog(this.getClass().getName(), e);