mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Ensure non-Double types are boxed in expression function calls.
This commit is contained in:
@ -75,6 +75,7 @@ public final class Functions {
|
||||
);
|
||||
handle = handle.asType(handle.type().changeReturnType(Number.class));
|
||||
handle = filterReturnValue(handle, DOUBLE_VALUE);
|
||||
handle = handle.asType(handle.type().wrap());
|
||||
}
|
||||
// return vararg-ity
|
||||
if (wasVarargs) {
|
||||
|
Reference in New Issue
Block a user