Skip to content

Commit ea86a2e

Browse files
committed
change method to be generic
1 parent 2b747fb commit ea86a2e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.kodysimpson</groupId>
88
<artifactId>SimpAPI</artifactId>
9-
<version>4.1.84</version>
9+
<version>4.1.85</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SimpAPI</name>

src/main/java/me/kodysimpson/simpapi/menu/PaginatedMenu.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ public PaginatedMenu(PlayerMenuUtility playerMenuUtility) {
2222
super(playerMenuUtility);
2323
}
2424

25-
public abstract List<Object> getData();
25+
public abstract <T> List<T> getData();
2626

2727
public abstract void loopCode(Object object);
2828

2929
//Set the border and menu buttons for the menu
30-
public void addMenuBorder(){
30+
protected void addMenuBorder(){
3131
inventory.setItem(48, makeItem(Material.DARK_OAK_BUTTON, ChatColor.GREEN + "Left"));
3232

3333
inventory.setItem(49, makeItem(Material.BARRIER, ChatColor.DARK_RED + "Close"));

0 commit comments

Comments
 (0)