Fixed javadoc

This commit is contained in:
Auxilor
2022-09-29 17:35:53 +01:00
parent fcd3aac363
commit 33ab8e04a0

View File

@@ -25,6 +25,7 @@ public final class PageChanger implements GUIComponent {
/** /**
* Create a new page change slot. * Create a new page change slot.
* *
* @param itemStack The ItemStack.
* @param direction The direction. * @param direction The direction.
*/ */
public PageChanger(@NotNull final ItemStack itemStack, public PageChanger(@NotNull final ItemStack itemStack,
@@ -58,10 +59,11 @@ public final class PageChanger implements GUIComponent {
} }
@Override @Override
public @Nullable Slot getSlotAt(final int row, public @Nullable
final int column, Slot getSlotAt(final int row,
@NotNull final Player player, final int column,
@NotNull final Menu menu) { @NotNull final Player player,
@NotNull final Menu menu) {
int page = Page.getPage(player, menu); int page = Page.getPage(player, menu);
int maxPage = Page.getMaxPage(player, menu); int maxPage = Page.getMaxPage(player, menu);