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

Fix resource argument types with invoke() function not copying the object. #70

Open
Ayfri opened this issue Mar 9, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working dsl Work on the main DSL module

Comments

@Ayfri
Copy link
Owner

Ayfri commented Mar 9, 2024

If you do

val myItem = Items.STONE {
   // ...something
}

Then it will modify Items.STONE globally instead of just giving a modified copy.

@Ayfri Ayfri added bug Something isn't working dsl Work on the main DSL module labels Mar 9, 2024
@Ayfri Ayfri self-assigned this Mar 9, 2024
@github-project-automation github-project-automation bot moved this to 📋 To do in Kore Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dsl Work on the main DSL module
Projects
Status: 📋 To do
Development

No branches or pull requests

1 participant