Skip to content

Use correct Skript class in some registry constructors - #8831

Open
APickledWalrus wants to merge 2 commits into
dev/featurefrom
feature/corrected-registry-constructors
Open

Use correct Skript class in some registry constructors#8831
APickledWalrus wants to merge 2 commits into
dev/featurefrom
feature/corrected-registry-constructors

Conversation

@APickledWalrus

Copy link
Copy Markdown
Member

Problem

PropertyRegistry and EventValueRegistry both need Skript instances to be created, but they are depending on the wrong Skript class: ch.njol.skript.Skript (the plugin class).

Solution

Switches these classes to require a org.skriptlang.skript.Skript instance instead. Retains deprecated constructors for compatibility.

Testing Completed

n/a (these values aren't actually used yet)

Supporting Information


Completes: none
Related: none
AI assistance: none

@APickledWalrus
APickledWalrus requested review from a team as code owners August 12, 2026 17:05
@APickledWalrus APickledWalrus added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Aug 12, 2026
@APickledWalrus
APickledWalrus requested review from Burbulinis and UnderscoreTud and removed request for a team August 12, 2026 17:05
@skriptlang-automation skriptlang-automation Bot added the needs reviews A PR that needs additional reviews label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request, an issue about something that could be improved, or a PR improving something. needs reviews A PR that needs additional reviews

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants