Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Variable maybe broken #4292

Closed
1 task done
Zzheyd opened this issue Aug 19, 2021 · 1 comment
Closed
1 task done

Variable maybe broken #4292

Zzheyd opened this issue Aug 19, 2021 · 1 comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.

Comments

@Zzheyd
Copy link

Zzheyd commented Aug 19, 2021

Skript/Server Version

Skript 2.6-beta2
paper-1.17.1-196

Note: On 1.16 have NOT this issue

I'm using simple command : add player's tool to {MO_shovel::*} <-- for add block on "list"

and i'm using this:
on leftclick: if {MO_shovel::*} contains clicked block: ... run action

Example of "MO_shovel" "dirt, sand and soul soil"

Bug Description

Have NO error on load/reload skript, but, have no reaction in game on 1.17+, work fine on 1.16.

Expected Behavior

Player's tool switch automatically when click on block of specified list

Steps to Reproduce

Simple code to reproduce

Errors or Screenshots

Replace this text with your paste link or errors/screenshots/videos.

Other

No response

Agreement

  • I have read the guidelines above and confirm I am following them with this report.
APickledWalrus added a commit to APickledWalrus/Skript that referenced this issue Aug 19, 2021
@APickledWalrus APickledWalrus added the PR available Issues which have a yet-to-be merged PR resolving it label Aug 19, 2021
@APickledWalrus
Copy link
Member

This seems to be a comparison issue between blocks and itemtypes, at least in the match quality required.

@APickledWalrus APickledWalrus added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Aug 19, 2021
@TPGamesNL TPGamesNL added completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Oct 30, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.
Projects
None yet
Development

No branches or pull requests

3 participants