un-escape \n for string configs. (#5042)

Currently it escapes them to a literal text, making multi line messages impossible.
This commit is contained in:
TranquillyUnpleasant
2021-04-01 18:14:20 +05:00
committed by GitHub
parent 1bd4c96ee8
commit 6a8127e7cd

View File

@@ -554,7 +554,7 @@ public class ServerControl implements ApplicationListener{
return;
}
}else if(c.isString()){
c.set(arg[1]);
c.set(arg[1].replace("\\n", "\n"));
}
info("@ set to @.", c.name(), c.get());