Check world instead of X because of false-y values (#3)
Check world instead of X because of false-y values Signed-off-by: Etzelia <etzelia@hotmail.com> Reviewed-on: https://git.canopymc.net/Canopy/django_coreprotect/pulls/3 Co-Authored-By: Etzelia <etzelia@hotmail.com> Co-Committed-By: Etzelia <etzelia@hotmail.com>master
parent
fbd29e2c70
commit
e5160f3839
|
@ -13,7 +13,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for result in results %}
|
||||
<tr {% if result.x %}class="click-row" data-prompt="/tp {{ result.x }} {{ result.y }} {{ result.z }}"{% endif %}>
|
||||
<tr {% if result.world %}class="click-row" data-prompt="/tp {{ result.x }} {{ result.y }} {{ result.z }}"{% endif %}>
|
||||
<td>{{ result.display_time }}</td>
|
||||
<td>{{ result.player }}</td>
|
||||
<td>{{ result.display_action }}</td>
|
||||
|
|
Loading…
Reference in New Issue