Skip to content

Loot of loot table syntax is not recognized. #8524

@crazymarty

Description

@crazymarty

Skript/Server Version

[02:22:10 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[02:22:10 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[02:22:10 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[02:22:10 INFO]: [Skript] Server Version: 1.21.8-2497-a49cdb9 (MC: 1.21.8)
[02:22:10 INFO]: [Skript] Skript Version: 2.14.2 (selfbuilt-unknown)
[02:22:10 INFO]: [Skript] Installed Skript Addons: 
[02:22:10 INFO]: [Skript]  - skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[02:22:10 INFO]: [Skript]  - skript-gui v1.3.1 (https://github.com/APickledWalrus/skript-gui)
[02:22:10 INFO]: [Skript]  - skript-yaml v1.7.2
[02:22:10 INFO]: [Skript]  - skript-reflect v2.6.3 (https://github.com/SkriptLang/skript-reflect)
[02:22:10 INFO]: [Skript]  - SkBee v3.18.3 (https://github.com/ShaneBeee/SkBee)
[02:22:10 INFO]: [Skript] Installed dependencies: 
[02:22:10 INFO]: [Skript]  - Vault v1.7.3-CMI
[02:22:10 INFO]: [Skript]  - WorldGuard v7.0.14+2339-43997ec

Bug Description

I have copy pasted the loot of loot table syntax from the documentation as is but the syntax:

set {_items::*} to loot items of the loot table "minecraft:chests/simple_dungeon" with loot context {_context}

and I believe any loot table related syntax throws "Can't understand this expression" error.

Expected Behavior

The skript should load with no errors related to that syntax and the syntax "loot items of loot table" should return list of items from the provided loot table.

Steps to Reproduce

Just use the same syntax as in the document: https://skripthub.net/docs/?id=12971 and reload the skript. You should see the "Can't understand this expression" error.

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.documentationRelated to Skript's official documentation.

    Type

    No type

    Projects

    Status

    Planned Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions