Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Inventory Click event-value null check #6578

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

Asleeepp
Copy link
Contributor

Description

adds a null check to the event-slot of the inventory click event
I tested it, it just returns air when clicking outside the inventory, which should be fine (probably)


Target Minecraft Versions: any
Requirements: none
Related Issues: #6458

@Moderocky Moderocky changed the base branch from master to dev/feature April 17, 2024 16:08
@Moderocky Moderocky changed the base branch from dev/feature to dev/patch April 17, 2024 16:08
@Moderocky
Copy link
Member

Ah nuts I switched it to the wrong branch, give me a few minutes to fix the mess 😬

@Asleeepp
Copy link
Contributor Author

Ah nuts I switched it to the wrong branch, give me a few minutes to fix the mess 😬

i was so confused when it suddenly switched to 23 commits

@Moderocky
Copy link
Member

Okay now I shall try to press the right button 🤣

Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wee woo wee woo brace police

id get arrested if i didnt

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
@sovdeeth sovdeeth added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. 2.8 Targeting a 2.8.X version release patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. labels Apr 17, 2024
@Moderocky Moderocky merged commit afaa6cd into SkriptLang:dev/patch Apr 17, 2024
4 checks passed
sovdeeth added a commit to sovdeeth/Skript that referenced this pull request Apr 18, 2024
* null check

* Update src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java

id get arrested if i didnt

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>

---------

Co-authored-by: Moderocky <admin@moderocky.com>
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
@Blizzmond
Copy link

where can I download the latest skript.jar that contains this fix?

@sovdeeth
Copy link
Member

checks tab -> java 17 -> artifacts -> download the zip

@Blizzmond
Copy link

sorry im not too familiar with github, could you send a link or further guidiance? apologies.

@sovdeeth
Copy link
Member

checks tab
image
java 17
image
artifacts -> download zip
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.8 Targeting a 2.8.X version release bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants