Validate MOTD too

Also remove accidentally added velocity.toml.
This commit is contained in:
Andrew Steinborn
2018-07-27 15:11:33 -04:00
parent 247dafd9de
commit 2512621a25
2 changed files with 10 additions and 1 deletions

View File

@@ -80,6 +80,13 @@ public class VelocityConfiguration {
}
}
try {
getMotdComponent();
} catch (Exception e) {
logger.error("Can't parse your MOTD", e);
valid = false;
}
return valid;
}