Skip to content

Clean up default permission resolver fields#1762

Open
WouterGritter wants to merge 1 commit intoPaperMC:dev/3.0.0from
WouterGritter:ambiguous-permission-field
Open

Clean up default permission resolver fields#1762
WouterGritter wants to merge 1 commit intoPaperMC:dev/3.0.0from
WouterGritter:ambiguous-permission-field

Conversation

@WouterGritter
Copy link
Copy Markdown
Contributor

ConnectedPlayers DEFAULT_PERMISSIONS has always bothered me, because the field does not contain the default permissions of a player, it contains the default permission provider.

This PR fixes that ambiguous naming, and it also aligns VelocityConsole to a similar pattern: a single field defining the default, instead of hard-coding it multiple times in the constructor and the setupPermissions() method.

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