mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fixed mySQL issues
This commit is contained in:
1 parent
18b244ed65
commit
9ff3293621
18 files changed
+286
-150
No files matched your search
@@ -39,7 +39,7 @@ public class editWarpCommand implements CommandExecutor {
|
||||
String newDescriptionString = newDescription.toString();
|
||||
|
||||
// Check the description is valid
|
||||
if (!newDescriptionString.matches("[a-zA-Z0-9\\d\\-_\\s]+")) {
|
||||
if (!newDescriptionString.matches("[a-zA-Z0-9\\d\\-_\\s]+") && newDescriptionString.length() > 255) {
|
||||
messageManager.sendMessage(p, "error_edit_warp_invalid_description");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user