Fixes various tab completion problems

This commit is contained in:
2022-02-27 14:28:46 +01:00
parent 91d477b45a
commit 3b7268d2ff
8 changed files with 52 additions and 38 deletions

View File

@ -29,7 +29,7 @@ public class PaidSign {
*/
public PaidSign(String name, double cost, String permission, OptionState ignoreCase, OptionState ignoreColor) {
if (name == null || name.trim().isBlank()) {
throw new IllegalArgumentException("Id cannot be empty");
throw new IllegalArgumentException("Name cannot be empty");
}
if (cost <= 0) {
throw new IllegalArgumentException("Cost must be larger than 0");