Skip to content

Commit

Permalink
Custom placeholders: Fix an issue with the custom placeholders change…
Browse files Browse the repository at this point in the history
…s being able to correctly count the aliases in the command `/prison commands list`.
  • Loading branch information
rbluer committed Sep 22, 2024
1 parent 992b817 commit 7c42c51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/changelog_v3.3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
These change logs represent the work that has been going on within prison.


# 3.3.0-alpha.19c 2024-09-21
# 3.3.0-alpha.19c 2024-09-22


* **Custom placeholders: Fix an issue with the custom placeholders changes being able to correctly count the aliases in the command `/prison commands list`.**


* **Custom Placeholders: Added support for a more complex custom placeholder where the default is an abbreviated placeholder (simple) and a more complex expanded placeholder where you can set various options such as enable PAPI expansions and adding descriptions.**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ else if (

count++;
totalCount++;
if ( ph.isAlias() ) {
if ( ph.getAlias() != null && ph.getAlias().isAlias() ) {
aliases++;
totalAliases++;
}
Expand Down

0 comments on commit 7c42c51

Please sign in to comment.