#check for item in offhand and set item lore in offhand item
1 messages · Page 1 of 1 (latest)
You can’t do that currently in 1.19.70 you have to wait for 1.19.80
How to do it in 1.19.80?
const equipment = Player.getComponent("equipment_inventory");
const itemInOffhand = equipment.getEquipment("offhand");
Ah, thx
No problem!
Does it return false when it's undefined?
Are you talking about the getComponent or the getEquipment?
get equipment
It should be false when it's not the item I want
I think it returns undefined if there’s no item