geforkt von Mirrors/FastAsyncWorldEdit
Throw error instead of returning null on a boolean return
Dieser Commit ist enthalten in:
Ursprung
bdd3bc26af
Commit
4534154894
@ -73,7 +73,7 @@ public class PrimitiveBindings extends Bindings {
|
||||
public Boolean getBoolean(String argument) {
|
||||
switch (argument.toLowerCase(Locale.ROOT)) {
|
||||
case "":
|
||||
return null;
|
||||
throw new InputParseException("Invalid empty string instead of boolean");
|
||||
case "true":
|
||||
case "yes":
|
||||
case "on":
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren