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 09:14:20 -04:00
committed by GitHub
parent 1bd4c96ee8
commit 6a8127e7cd
@@ -554,7 +554,7 @@ public class ServerControl implements ApplicationListener{
return; return;
} }
}else if(c.isString()){ }else if(c.isString()){
c.set(arg[1]); c.set(arg[1].replace("\\n", "\n"));
} }
info("@ set to @.", c.name(), c.get()); info("@ set to @.", c.name(), c.get());