Skip to content

chore: Don't log errors for accepting the EULA via the system property#13681

Open
kezz wants to merge 2 commits intoPaperMC:mainfrom
kezz:chore/no-eula-error
Open

chore: Don't log errors for accepting the EULA via the system property#13681
kezz wants to merge 2 commits intoPaperMC:mainfrom
kezz:chore/no-eula-error

Conversation

@kezz
Copy link
Member

@kezz kezz commented Mar 5, 2026

It's not really necessary to log this as an error, plus we can rename it now.

@kezz kezz requested a review from a team as a code owner March 5, 2026 16:41
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Mar 5, 2026
@Toffikk
Copy link
Contributor

Toffikk commented Mar 5, 2026

why should this even be a warning? i feel like info is enough since even vanilla code uses info if u don't agree to the EULA

Comment on lines 75 to 76
+ }
+ if (!eula.hasAgreedToEULA() && !eulaAgreed) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could maybe even put this into an else-if statement instead, might be cleaner.

Suggested change
+ }
+ if (!eula.hasAgreedToEULA() && !eulaAgreed) {
+ } else if (!eula.hasAgreedToEULA()) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

5 participants