
Mushrooms parsing incorrectly from list
XenonsEU opened this issue ยท 3 comments
Skript/Server Version
[Skript] Server Version: 1.21.8-56-65641d1 (MC: 1.21.8)
[Skript] Skript Version: 2.12.1 (skriptlang-github)
[Skript] Installed Skript Addons:
[Skript] - SkBee v3.12.3 (https://github.com/ShaneBeee/SkBee)
[Skript] - Skript-Packet v3.0.0 (www.github.com/Anarchick/skript-packet)
[Skript] - skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)
[Skript] - PoaSk v4.14.0 (https://github.com/Ekpoa/PoaSkRewritev2)
[Skript] - skript-db v1.3.9
[Skript] - skript-worldedit v1.1.2
Bug Description
Certain block / items when in list are not seeming to place properly with set block
command /testmushroom: trigger: set {_rantest::*} to red mushroom, brown mushroom set {_rand} to random element out of {_rantest::*} broadcast {_rand} set block at player's location to {_rand}
the {_rand} shows up in chat as "red_mushroom" and no block is actually placed
using skript line
set block at player's location to red mushroom
works so I am guessing it's just parsing issue
this from what I came across happens to:
red mushroom, brown mushroom, warped fungus, crimson fungus
Expected Behavior
The block was supposed to be placed as red mushroom but instead nothing is placed as the parsing is invalid
Steps to Reproduce
Using the code pasted above should yield the same result
Errors or Screenshots
No errors
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Cannot reproduce with Skript 2.12.2
command /test:
trigger:
set {_m::*} to red mushroom and brown mushroom
set {_m} to random element out of {_m::*}
set block at player to {_m}
javaw_wtXsSxzIjK.mp4
Might be an issue with one of your addons
Cannot reproduce with Skript 2.12.2
command /test:
trigger:
set {_m::} to red mushroom and brown mushroom
set {_m} to random element out of {_m::}
set block at player to {_m}
javaw_wtXsSxzIjK.mp4
Might be an issue with one of your addons
You didn't copy their code with the non "and" ending list.
Also it could be conflicting with mushroom blocks.
@XenonsEU
Are you using any aliases in your Script/aliases/ folder?
I checked their example as well and I got no block placed so I am presuming one of the addons is conflicting or altering it
as for aliases I didn't add any @TheLimeGlass