Skip to content

Conversation

@triagonal
Copy link
Member

Information

This PR prevents an NPE from occurring when center is not set in the random teleport config file.

The NPE occurs when running /tpr on a fresh install (i.e. no center defined in tpr.yml): https://paste.gg/p/anonymous/f47523f54fdb4fbca961aef952ce7296

Reported by swayQ#5660 on the MOSS support server.

Details

Environments tested:

OS: Windows 10 20H2
Java version: openjdk version "11.0.10"

  • Most recent Paper version (1.16.5-R0.1-SNAPSHOT git-Paper-777 (MC: 1.16.5))

@JRoy JRoy enabled auto-merge (squash) June 19, 2021 16:21
@JRoy JRoy disabled auto-merge June 19, 2021 16:22
@JRoy JRoy merged commit d4e194f into EssentialsX:2.x Jun 19, 2021
@triagonal triagonal deleted the fix/tpr-center-npe branch June 19, 2021 16:23
@triagonal triagonal added module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX. labels Jun 19, 2021
@pop4959 pop4959 added this to the 2.19.0 milestone Jul 6, 2021
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants