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