Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Fix null pointer exception PlayerListener#onInteract #538

Closed
wants to merge 1 commit into from

Conversation

Mick00
Copy link

@Mick00 Mick00 commented Apr 15, 2021

What is the purpose of this pull request?

Nullpointer exception is thrown when no player is returned from the UltraPlayer cache.

This fix issue #534.

How do your changes address the purpose?

I added a null check before calling UltraPlayer#getCurrentTreasureChest()

Changes

@datatags
Copy link
Collaborator

Implemented manually. Thanks!

@datatags datatags closed this Dec 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants