Skip to content

Commit

Permalink
Merge pull request #232 from PrisonTeam/bleeding.alpha12
Browse files Browse the repository at this point in the history
v3.3.0-alpha.12
  • Loading branch information
rbluer authored Jun 25, 2022
2 parents 2878e56 + bce7459 commit df4b26c
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 39 deletions.
6 changes: 5 additions & 1 deletion docs/changelog_v3.3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ These build logs represent the work that has been going on within prison.



# 3.3.0-alpha.11j 2022-06-20
# 3.3.0-alpha.12 2022-06-25


* **v3.3.0-alpha.12 2022-06-25**



* **v3.3.0-alpha.11k 2022-06-20**
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## # This is actually the "correct" place to define the version for the project.
## # Used within build.gradle with ${project.version}.
## # Can be overridden on the command line: gradle -Pversion=3.2.1-alpha.3
version=3.3.0-alpha.11k
version=3.3.0-alpha.12



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,43 +302,46 @@ private String processPlaceholderHavePlaceholderKey( PlaceholderIdentifier ident

PlaceHolderKey placeHolderKey = identifier.getPlaceholderKey();

if ( mm != null &&
(placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.MINES ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.STATSMINES ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.MINEPLAYERS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.PLAYERBLOCKS )
)) {

if ( identifier.checkPlaceholderKey(placeHolderKey) ) {

mm.getTranslateMinesPlaceholder(identifier);
}

}
else if ( pm != null &&
(placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.PLAYER ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.LADDERS )
)) {

if ( identifier.checkPlaceholderKey(placeHolderKey) ) {

pm.getTranslatePlayerPlaceHolder( identifier );
}

}
else if ( rm != null &&
(placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.RANKS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.RANKPLAYERS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.STATSRANKS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.STATSPLAYERS )
)) {

if ( identifier.checkPlaceholderKey(placeHolderKey) ) {

rm.getTranslateRanksPlaceHolder( identifier );
}

}
if ( placeHolderKey != null && placeHolderKey.getPlaceholder() != null ) {

if ( mm != null &&
(placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.MINES ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.STATSMINES ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.MINEPLAYERS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.PLAYERBLOCKS )
)) {

if ( identifier.checkPlaceholderKey(placeHolderKey) ) {

mm.getTranslateMinesPlaceholder(identifier);
}

}
else if ( pm != null &&
(placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.PLAYER ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.LADDERS )
)) {

if ( identifier.checkPlaceholderKey(placeHolderKey) ) {

pm.getTranslatePlayerPlaceHolder( identifier );
}

}
else if ( rm != null &&
(placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.RANKS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.RANKPLAYERS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.STATSRANKS ) ||
placeHolderKey.getPlaceholder().hasFlag( PlaceholderFlags.STATSPLAYERS )
)) {

if ( identifier.checkPlaceholderKey(placeHolderKey) ) {

rm.getTranslateRanksPlaceHolder( identifier );
}

}
}


return identifier.getText();
Expand Down

0 comments on commit df4b26c

Please sign in to comment.