We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55dc11e commit 5660ea7Copy full SHA for 5660ea7
src/main/java/carpet/script/value/MapValue.java
@@ -47,7 +47,7 @@ public Iterator<Value> iterator()
47
@Override
48
public List<Value> unpack()
49
{
50
- return map.entrySet().stream().map(e -> ListValue.of(e.getKey(), e.getValue())).toList();
+ return map.entrySet().stream().map(e -> ListValue.of(e.getKey(), e.getValue())).collect(Collectors.toList());
51
}
52
53
0 commit comments