pop41
This commit is contained in:
parent
c7d4a5c4a3
commit
bfd5c02d82
@ -77,6 +77,8 @@ async function loadEquipment() {
|
|||||||
const equipment = await res.json();
|
const equipment = await res.json();
|
||||||
|
|
||||||
equipment.forEach((item) => {
|
equipment.forEach((item) => {
|
||||||
|
if (!item.item_id) return; // ← WICHTIG
|
||||||
|
|
||||||
const slot = document.querySelector('.slot[data-slot="' + item.slot + '"]');
|
const slot = document.querySelector('.slot[data-slot="' + item.slot + '"]');
|
||||||
if (!slot) return;
|
if (!slot) return;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user