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 null check for I18n error logging #5472

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

zZHorizonZz
Copy link
Contributor

@zZHorizonZz zZHorizonZz commented Aug 7, 2023

Information

This PR fixes #nnnn.

Details

Proposed fix:

This fix should potentially apply the initial intention of author for checking the nullability of ess (IEssentials). As the current code doesn't make any sense at least in way that checking if ess is null and then using that same ess var for getting a logger even thought it's ess is null.

Environments tested:

OS:
Edition Windows 11 Enterprise Insider Preview
Version 22H2
Installed on ‎7/‎25/‎2023
OS build 23506.1000
Experience Windows Feature Experience Pack 1000.23506.1000.0

Java version:

  • Most recent Paper version (1.XX.Y, git-Paper-BUILD)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:

Copy link
Member

@JRoy JRoy left a comment

Choose a reason for hiding this comment

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

thanks

@JRoy JRoy changed the title fix(i18n): fixed pontial bug with nulability when checkin for IEssentials Fix null check for I18n error logging Aug 7, 2023
@JRoy JRoy enabled auto-merge (squash) August 7, 2023 23:38
@JRoy JRoy merged commit 6fb500d into EssentialsX:2.x Aug 7, 2023
1 check passed
@zZHorizonZz zZHorizonZz deleted the patch-1 branch August 11, 2023 06:28
@mdcfe mdcfe added this to the 2.20.2 milestone Sep 23, 2023
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.

3 participants