added pos

This commit is contained in:
gnembon committed 2020-01-17 23:33:45 -04:00
1 parent 936fef8901
commit 16824c2774
1 file changed
+2 -1
@@ -851,7 +851,8 @@ public class CarpetExpression
Value ret = ListValue.wrap(store.get(condition, pos, (int)radius, status).map( p ->
ListValue.of(
new StringValue(p.getType().toString()),
new NumericValue(p.getType().getTicketCount() - ((PointOfInterest_scarpetMixin)p).getFreeTickets())
new NumericValue(p.getType().getTicketCount() - ((PointOfInterest_scarpetMixin)p).getFreeTickets()),
ListValue.of(new NumericValue(p.getPos().getX()), new NumericValue(p.getPos().getY()), new NumericValue(p.getPos().getZ()))
)
).collect(Collectors.toList()));