Skip to content

ExprBoundingBoxesOfVoxelShape needs to override isSingle #68

@sovdeeth

Description

@sovdeeth

Describe the bug
Using ExprBoundingBoxesOfVoxelShape on a single voxel shape of more than 1 bounding box returns multiple boxes, but isSingle was true so !set {a} to bounding boxes of voxel shape of target block passes without issue, but {a} is only 1 of the bounding boxes.

To Reproduce
!set {a} to bounding boxes of voxel shape of target block while looking at stairs

Expected behavior
A parse error, since you can't set a single var to multiple things.

Screenshots
If applicable, add screenshots to help explain your problem.

/sk info:

[01:24:30 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[01:24:30 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[01:24:30 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[01:24:30 INFO]: [Skript] Server Version: 1.21.10-DEV-080a72f (MC: 1.21.10)
[01:24:30 INFO]: [Skript] Skript Version: 2.13.1 (skriptlang-github)
[01:24:30 INFO]: [Skript] Installed Skript Addons:
[01:24:30 INFO]: [Skript]  - skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[01:24:30 INFO]: [Skript]  - Lusk v1.3.11 (https://github.com/JakeGBLP/Lusk)
[01:24:30 INFO]: [Skript]  - SkBee v3.13.3 (https://github.com/ShaneBeee/SkBee)
[01:24:30 INFO]: [Skript]  - oopsk v1.0-beta2 (https://github.com/sovdeeth/oopsk)
[01:24:30 INFO]: [Skript] Installed dependencies: None

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Area: Lusk (Skript)Takes place in the 'skript' module. More specifically in the skript implementation.Priority: MediumShould be addressed decently soon,Status: PlannedPlanned for implementation. Not waiting on other features or changes to be implemented.Type: BugSomething isn't working

Projects

Status

Accepted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions