TriumphTeam/triumph-gui

adding custom items

jman13378 opened this issue · 1 comments

im trying to use this to add a item but it doesnt get anything and when i print the list to the console with Bukkit.getLogger().info(list.toString()); i get [myitems:red_block] so why isnt it adding any items to the gui

for (int i = 0; i > list.size(); i++) {
    GuiItem guiItem = 
    ItemBuilder.from(CustomStack.getInstance(list.get(i)).getItemStack().getType()).name(Component.text(list.get(i))).asGuiItem();
    gui.addItem(guiItem);
}

used the wrong operation