added pos
This commit is contained in:
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()));
|
||||
|
||||
|
||||
Reference in new issue
Block a user