mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-18 15:07:43 +01:00
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