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

2046 null player placeholder support #2048

Merged
merged 2 commits into from
Nov 13, 2022

Conversation

tastybento
Copy link
Member

I adjusted BasicPlaceholderExpansion.java to handle and allow null players, which is used then the placeholder is not referring to a player and often is used with NPC's like Citizens. However, weirdly, this code is what PAPI uses, so I'm not sure what the purpose is of https://github.com/BentoBoxWorld/BentoBox/blob/develop/src/main/java/world/bentobox/bentobox/hooks/placeholders/PlaceholderAPIHook.java because although it seems to be hooked, it's never actually called. Even the registration functions are never called.
Maybe this is a different bug!

@tastybento tastybento requested a review from BONNe November 12, 2022 01:35
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@BONNe BONNe removed their request for review November 13, 2022 06:48
@BONNe BONNe merged commit 2629e94 into develop Nov 13, 2022
@BONNe BONNe deleted the 2046_null_player_placeholder_support branch November 13, 2022 06:49
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