geforkt von Mirrors/FastAsyncWorldEdit
Ensure non-Double types are boxed in expression function calls.
Dieser Commit ist enthalten in:
Ursprung
86f06b7527
Commit
4c0b535e6e
@ -75,6 +75,7 @@ public final class Functions {
|
|||||||
);
|
);
|
||||||
handle = handle.asType(handle.type().changeReturnType(Number.class));
|
handle = handle.asType(handle.type().changeReturnType(Number.class));
|
||||||
handle = filterReturnValue(handle, DOUBLE_VALUE);
|
handle = filterReturnValue(handle, DOUBLE_VALUE);
|
||||||
|
handle = handle.asType(handle.type().wrap());
|
||||||
}
|
}
|
||||||
// return vararg-ity
|
// return vararg-ity
|
||||||
if (wasVarargs) {
|
if (wasVarargs) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren