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

BukkitClasses - make "effect" in PotionEffectType pattern non-optional #7440

Open
wants to merge 2 commits into
base: dev/feature
Choose a base branch
from

Conversation

ShaneBeee
Copy link
Contributor

Description

This PR aims to make "effect" non-optional in the "potion [effect] type" pattern.

A few reasons:

  1. it should be required, its the name
  2. Theres a class in Bukkit called PotionType, currently not used by Skript, but could in the future and cause conflict.
  3. Im adding PotionType to SkBee (on request) and the pattern conflicts.

As discussed with pickle this could technically cause a breaking change, but really....
send all potion types -> send all potion effect types
Thats probably it. (or looping... but who does that)


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

@Efnilite Efnilite added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. breaking changes Pull or feature requests that contain breaking changes (API, syntax, etc.) labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking changes Pull or feature requests that contain breaking changes (API, syntax, etc.) bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants