mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-22 10:36:00 +01:00
Use class "config name" on leaderboard signs.
Same as with arena names, we can just use the class "config name" on leaderboards for a prettier experience.
This commit is contained in:
parent
06cedde031
commit
2a87aef9f3
@ -27,7 +27,7 @@ These changes will (most likely) be included in the next version.
|
||||
- Commands that resolve arena and/or class names now consistently resolve and tab complete "slugs" instead of arbitrarily "squashed" names. This greatly improves support for multi-word names.
|
||||
- The class signs generated by the `/ma autogenerate` command now use class names from the config-file instead of arbitrarily "squashed" names.
|
||||
- The `/ma addarena` and `/ma autogenerate` commands now supports multi-word arena names.
|
||||
- Leaderboards now use arena names from the config-file instead of arbitrarily "prettified" names.
|
||||
- Leaderboards now use arena and class names from the config-file instead of arbitrarily "prettified" names.
|
||||
- Using `spectate-on-death: true` no longer forces players out to their join location/exit warp before moving them to the spectator area. This should prevent "jumpy" behavior in multi-world setups.
|
||||
- Players should now properly respawn at the spectator area rather than at world spawn on servers with plugins that override respawn locations.
|
||||
- Config-files with missing `pet-items` nodes no longer errors. A missing `pet-items` node in `global-settings` is treated as empty, i.e. no pet items will be registered.
|
||||
|
@ -17,7 +17,7 @@ public class ArenaPlayerStatistics
|
||||
public ArenaPlayerStatistics(ArenaPlayer player) {
|
||||
this.player = player;
|
||||
this.playerName = player.getPlayer().getName();
|
||||
this.className = player.getArenaClass().getLowercaseName();
|
||||
this.className = player.getArenaClass().getConfigName();
|
||||
reset();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user