Skip to content

Add cloner for SkriptPotionEffect - #8820

Open
APickledWalrus wants to merge 2 commits into
dev/patchfrom
patch/potion-cloning
Open

Add cloner for SkriptPotionEffect#8820
APickledWalrus wants to merge 2 commits into
dev/patchfrom
patch/potion-cloning

Conversation

@APickledWalrus

Copy link
Copy Markdown
Member

Problem

The SkriptPotionEffect ClassInfo does not have a cloner defined, causing references to be shared across variables.

Solution

SkriptPotionEffect already supports cloning. I simply define a cloner to use the method.

Testing Completed

I added a small test to verify cloning. I verified that the test previously failed but now passes.

Supporting Information


Completes: none
Related: none
AI assistance: none

@APickledWalrus APickledWalrus added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Aug 7, 2026
@APickledWalrus
APickledWalrus requested a review from a team as a code owner August 7, 2026 20:52
@APickledWalrus
APickledWalrus requested review from UnderscoreTud and cheeezburga and removed request for a team August 7, 2026 20:52
@skriptlang-automation skriptlang-automation Bot moved this to In Review in 2.16 Releases Aug 7, 2026
@skriptlang-automation skriptlang-automation Bot added the needs reviews A PR that needs additional reviews label Aug 7, 2026
@skriptlang-automation

This comment has been minimized.

@APickledWalrus
APickledWalrus changed the base branch from master to dev/patch August 7, 2026 20:52
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. needs reviews A PR that needs additional reviews

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants