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
Etzelia 2021-07-17 01:56:00 +00:00
parent fbd29e2c70
commit e5160f3839
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
</thead> </thead>
<tbody> <tbody>
{% for result in results %} {% 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.display_time }}</td>
<td>{{ result.player }}</td> <td>{{ result.player }}</td>
<td>{{ result.display_action }}</td> <td>{{ result.display_action }}</td>