mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-10-27 02:21:58 +00:00
add sanity checks for inventory to stop crashing
This commit is contained in:
@@ -66,7 +66,8 @@
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
|
||||
{%if inv_item.attr_c|int > 999 %}
|
||||
<br />Count: {{ inv_item.attr_c|numberFormat }}
|
||||
{% if 'attr_c' in inv_item %}
|
||||
{%if inv_item.attr_c|int > 999 %}
|
||||
<br />Count: {{ inv_item.attr_c|numberFormat }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user