mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* important fix for servers with promotion column (#36)
* caused player.vocation to be resetted when saving player, for example: on change name, accept invite to guild, leave guild * fixed empty success message on leave guild * (internal) using $player->getVocationName() where possible instead of older method * fixed some warning in guild show
This commit is contained in:
@@ -385,12 +385,8 @@
|
||||
<td>
|
||||
<nobr>{{ i }}. {{ player.getName() }}{% if player.isDeleted() %}<font color="red"> [DELETED]</font>{% endif %}</nobr>
|
||||
</td>
|
||||
{% set vocation = 'Unknown' %}
|
||||
{% if config.vocations[player.getVocation()] is defined %}
|
||||
{% set vocation = config.vocations[player.getVocation()] %}
|
||||
{% endif %}
|
||||
|
||||
<td>{{ player.getLevel() }} {{ vocation }}</td>
|
||||
<td>{{ player.getLevel() }} {{ player.getVocationName() }}</td>
|
||||
<td>{% if player.isOnline() %}<b><font color="green">Online</font></b>{% endif %}</td>
|
||||
<td>
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
|
Reference in New Issue
Block a user