fixed compatibility with mmoinv

This commit is contained in:
Indyuce 2022-01-23 16:59:19 +01:00
parent d50319a2d9
commit 028c1a83d3

View File

@ -37,7 +37,7 @@ public class RPGInventoryHook implements PlayerInventory, Listener {
for (ItemStack passive : InventoryAPI.getPassiveItems(player)) for (ItemStack passive : InventoryAPI.getPassiveItems(player))
if (passive != null) if (passive != null)
list.add(new EquippedItem(passive, EquipmentSlot.ANY)); list.add(new EquippedItem(passive, EquipmentSlot.ACCESSORY));
return list; return list;
} }