Validate MOTD too
Also remove accidentally added velocity.toml.
This commit is contained in:
@@ -80,6 +80,13 @@ public class VelocityConfiguration {
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
getMotdComponent();
|
||||
} catch (Exception e) {
|
||||
logger.error("Can't parse your MOTD", e);
|
||||
valid = false;
|
||||
}
|
||||
|
||||
return valid;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user