mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
*
This commit is contained in:
parent
30700559db
commit
812816e4e4
@ -264,7 +264,7 @@ public class DefaultMaskParser extends FaweParser<Mask> {
|
|||||||
int requiredMin = 1;
|
int requiredMin = 1;
|
||||||
int requiredMax = 8;
|
int requiredMax = 8;
|
||||||
if (split.length == 2) {
|
if (split.length == 2) {
|
||||||
String[] split2 = split[1].split(",");
|
String[] split2 = split[1].split(":");
|
||||||
requiredMin = (int) Math.abs(Expression.compile(split2[0]).evaluate());
|
requiredMin = (int) Math.abs(Expression.compile(split2[0]).evaluate());
|
||||||
if (split2.length == 2) {
|
if (split2.length == 2) {
|
||||||
requiredMax = (int) Math.abs(Expression.compile(split2[1]).evaluate());
|
requiredMax = (int) Math.abs(Expression.compile(split2[1]).evaluate());
|
||||||
|
Loading…
Reference in New Issue
Block a user