Skip to content

feat: add has_potion_effect and potion_effect_level (closes #66) - #84

Closed
iGabyTM wants to merge 4 commits into
masterfrom
feature/potion_placeholders
Closed

feat: add has_potion_effect and potion_effect_level (closes #66)#84
iGabyTM wants to merge 4 commits into
masterfrom
feature/potion_placeholders

Conversation

@iGabyTM

@iGabyTM iGabyTM commented Jun 18, 2023

Copy link
Copy Markdown
Member

Has to be merged after #83

@iGabyTM iGabyTM changed the title feat: add potion_has and potion_level (close #66) feat: add potion_has and potion_level (closes #66) Jun 18, 2023
@iGabyTM iGabyTM linked an issue Jun 18, 2023 that may be closed by this pull request
Comment thread src/main/java/com/extendedclip/papi/expansion/player/PlayerExpansion.java Outdated
iGabyTM added 2 commits June 21, 2023 20:49
As @BlitzOffline pointed out, `has_potion_effect` makes more sense than `potion_has`
Because these placeholders requires an argument they need to be outside the switch block
@iGabyTM
iGabyTM requested a review from BlitzOffline June 21, 2023 17:51
@iGabyTM iGabyTM changed the title feat: add potion_has and potion_level (closes #66) feat: add has_potion_effect and potion_level (closes #66) Jun 21, 2023
Last edit, I promise 😬
@iGabyTM iGabyTM changed the title feat: add has_potion_effect and potion_level (closes #66) feat: add has_potion_effect and potion_effect_level (closes #66) Jun 21, 2023
@cj89898

cj89898 commented Jul 1, 2023

Copy link
Copy Markdown
Contributor

Just saw this pop up in the discord, and was just curious about adding has_potion_effect when we already have has_potioneffect.

I noticed extra code was also put in for the new one, instead of them running the same thing code.

@iGabyTM

iGabyTM commented Jul 1, 2023

Copy link
Copy Markdown
Member Author

Because I did not see it welp

@Tanguygab Tanguygab mentioned this pull request Aug 27, 2023
@iGabyTM

iGabyTM commented Jun 24, 2024

Copy link
Copy Markdown
Member Author

I've included this (potion_effect_level) placeholder in https://github.com/PlaceholderAPI/Player-Expansion/tree/feature/rewrite

@iGabyTM iGabyTM closed this Jun 24, 2024
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.

SUGGESTION - 2 new placeholders

4 participants