Skip to content

add open modifies to example kotlin test #11

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

kxmpxtxnt
Copy link
Contributor

As mentioned in the block above the code the kotlin classes should be open. This modifier was missing in the example

@Thorinwasher
Copy link
Contributor

Thorinwasher commented May 5, 2025

Why does it need to be open?

I'm not that well informed on how kotlin works, but by just searching this up, it seems that defining the class as open means it can be extended. This in of itself is not an important property for an unit test.

@Thorinwasher
Copy link
Contributor

Thorinwasher commented May 5, 2025

My bad, you're right 😅. Didn't read that this was for the actual plugin class

@Thorinwasher Thorinwasher merged commit 7c6ecf7 into MockBukkit:main May 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants