broken-arrow

Untitled

Dec 1st, 2021 (edited)
871
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             @Override
  2.             public ItemStack getItem(Object object) {
  3.  
  4.                 if (object instanceof UUID) {
  5.                     return ItemUtily.createItemStack(GuiTempletsYaml.getIcon("PartylistMenu", "Players_List", (UUID) object),
  6.                             GuiTempletsYaml.getDisplayName("PartylistMenu", "Players_List", Bukkit.getOfflinePlayer((UUID) object)),
  7.                             GuiTempletsYaml.getLore("PartylistMenu", "Players_List"));
  8.                 }
  9.                 return null;
  10.             }
RAW Paste Data