mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-11 14:20:54 +01:00
Possibly Fix #247
This commit is contained in:
parent
7ee1c6eef6
commit
9e76dfdb4d
@ -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("}}");
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user