Skip to content

Commit b7953ce

Browse files
Oops.
1 parent 30e94bc commit b7953ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/me/flame/menus/menu/PaginatedMenu.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ public void addPage() {
6363
pageList.add(Page.of(this));
6464
}
6565

66-
public M update() {
66+
@Override
67+
public PaginatedMenu update() {
6768
this.updating = true;
6869
this.recreateItems();
6970
List<HumanEntity> entities = ImmutableList.copyOf(inventory.getViewers());
7071
entities.forEach(e -> ((Player) e).updateInventory());
7172
this.updating = false;
72-
return (M) this;
73+
return this;
7374
}
7475

7576
/**

0 commit comments

Comments
 (0)