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

IllegalArgumentException - Entities cannot ride themselves #7385

Open
1 task done
Fusezion opened this issue Jan 4, 2025 · 0 comments
Open
1 task done

IllegalArgumentException - Entities cannot ride themselves #7385

Fusezion opened this issue Jan 4, 2025 · 0 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. good first issue An issue that would be good for a first-time contributor to make a PR for PR available Issues which have a yet-to-be merged PR resolving it priority: low Issues that are not harmful to the experience but are related to useful changes or additions.

Comments

@Fusezion
Copy link
Contributor

Fusezion commented Jan 4, 2025

Skript/Server Version

[03:55:38 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[03:55:38 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[03:55:38 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[03:55:38 INFO]: [Skript] Server Version: 1.21.3-81-da71382 (MC: 1.21.3)
[03:55:38 INFO]: [Skript] Skript Version: 2.9.5 (skriptlang-github)
[03:55:38 INFO]: [Skript] Installed Skript Addons: 
[03:55:38 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[03:55:38 INFO]: [Skript]  - DiSky v4.20.0
[03:55:38 INFO]: [Skript]  - skript-reflect v2.5.1 (https://github.com/SkriptLang/skript-reflect)
[03:55:38 INFO]: [Skript]  - SkQuery v4.1.10
[03:55:38 INFO]: [Skript]  - SkBee v3.6.6 (https://github.com/SkriptHub/SkBee)
[03:55:38 INFO]: [Skript] Installed dependencies: 
[03:55:38 INFO]: [Skript]  - Vault v1.7.3-b131
[03:55:38 INFO]: [Skript]  - WorldGuard v7.0.12+829a4a4

Bug Description

When making a entity ride an entity if both inputs are the same entity an illegalargumentexception will be thrown saying an entity cannot ride itself

Expected Behavior

Skript to internally skip an entity if they're the mount target

Steps to Reproduce

!make player ride player

Errors or Screenshots

https://gist.github.com/Fusezion/7f45d71f9acce6ff1a1186d871e4b742

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@sovdeeth sovdeeth added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: low Issues that are not harmful to the experience but are related to useful changes or additions. good first issue An issue that would be good for a first-time contributor to make a PR for labels Jan 4, 2025
@Romitou Romitou added the PR available Issues which have a yet-to-be merged PR resolving it label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. good first issue An issue that would be good for a first-time contributor to make a PR for PR available Issues which have a yet-to-be merged PR resolving it priority: low Issues that are not harmful to the experience but are related to useful changes or additions.
Projects
None yet
Development

No branches or pull requests

3 participants