Carpet

Carpet

2M Downloads

Error while evaluating expression `query(e, 'portal_timer')` unless entity is in a portal.

GunnyWaffle opened this issue ยท 0 comments

commented

Carpet version: 1.21-1.4.147+v240613

When e~'portal_timer' or query(e, 'portal_timer') are used on an entity that is not currently standing in a portal block, the following error occurs:

Cannot fetch 'portal_timer' with these arguments
Error while evaluating expression

The expected behavior is the query returning 0 when an entity is not standing in a portal block. This was the case in all versions leading up to 1.20.3-1.4.128+v231205, which is the version I last used. I'm not certain when this issue began.