Commit 6a6597a0 by Amelin Konstantin

Refactor Logger

parent 31739d7f
......@@ -48,7 +48,7 @@ trait Logger {
case o =>
data(v.hashCode).head._3 -= o.get.hashCode
res = Text(o.get.text)
} else if (data.get(v.hashCode).nonEmpty) {
} else if (data.get(v.hashCode).nonEmpty && data(v.hashCode).nonEmpty) {
if (data(v.hashCode).head._3 != null) {
val e = data(v.hashCode).head.copy(_2 = null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment