Fixes various tab completion problems
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user