Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
5703194017
Commit
2edc08943a
@ -163,16 +163,16 @@ public class MaterialCommand extends SWCommand implements Listener {
|
||||
string = string.replace(",", ".");
|
||||
if (string.startsWith("=")) {
|
||||
if (blastResistance != Double.parseDouble(string.substring(1))) return false;
|
||||
} else if (string.startsWith(">=")) {
|
||||
if (blastResistance < Double.parseDouble(string.substring(2))) return false;
|
||||
} else if (string.startsWith("<=")) {
|
||||
if (blastResistance > Double.parseDouble(string.substring(2)))return false;
|
||||
} else if (string.startsWith(">")) {
|
||||
if (blastResistance <= Double.parseDouble(string.substring(1))) return false;
|
||||
} else if (string.startsWith("<")) {
|
||||
if (blastResistance >= Double.parseDouble(string.substring(1))) return false;
|
||||
} else if (string.startsWith("!")) {
|
||||
if (blastResistance == Double.parseDouble(string.substring(1))) return false;
|
||||
} else if (string.startsWith(">=")) {
|
||||
if (blastResistance < Double.parseDouble(string.substring(2))) return false;
|
||||
} else if (string.startsWith("<=")) {
|
||||
if (blastResistance > Double.parseDouble(string.substring(2)))return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren