From 2811aabc2e2debd0a4e56f1ee122b429cbd24631 Mon Sep 17 00:00:00 2001 From: marcin212 Date: Thu, 6 Jul 2017 15:04:19 +0200 Subject: [PATCH] Fixed NPE in machines --- src/main/java/binnie/core/machines/power/CoreErrorCode.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/binnie/core/machines/power/CoreErrorCode.java b/src/main/java/binnie/core/machines/power/CoreErrorCode.java index 6862f4e0..a1cf6ade 100644 --- a/src/main/java/binnie/core/machines/power/CoreErrorCode.java +++ b/src/main/java/binnie/core/machines/power/CoreErrorCode.java @@ -36,6 +36,7 @@ public enum CoreErrorCode implements IErrorStateDefinition { CoreErrorCode(String name, IErrorStateDefinition parent, EnumErrorType type) { this.name = name; this.parent = parent; + this.type = type; } public String getDescription(){