Skip to content

Commit 5660ea7

Browse files
committed
fix build
1 parent 55dc11e commit 5660ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/carpet/script/value/MapValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public Iterator<Value> iterator()
4747
@Override
4848
public List<Value> unpack()
4949
{
50-
return map.entrySet().stream().map(e -> ListValue.of(e.getKey(), e.getValue())).toList();
50+
return map.entrySet().stream().map(e -> ListValue.of(e.getKey(), e.getValue())).collect(Collectors.toList());
5151
}
5252

5353
@Override

0 commit comments

Comments
 (0)