-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fall back to the map name if no player alias is set
The behaviour of these function is back to their 1.12.2 behaviour, as they will no longer return `null` values for maps that have no player alias set: - `getMapDisplayName()` - `getAllMapDisplayNames()` - `getVisibleMapDisplayNames()` Also `getMapName()` will once again be able to find maps by matching the name when no player alias is set. The new method `Zone.getDisplayName()` can be used to get the name of the zone to show to players, whether that is the player alias or the regular name.
- Loading branch information
1 parent
06ba966
commit 715e9c2
Showing
4 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters