Skip to content

Commit

Permalink
Fixed CustomInventory#clone
Browse files Browse the repository at this point in the history
  • Loading branch information
p0loskun committed Sep 15, 2024
1 parent 5fdf98c commit e70782f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,13 @@ public interface CustomInventory extends Inventory, Cloneable {
*/
@NotNull CustomInventory bottomClickAction(final @Nullable InventoryAction<InventoryClickEvent> bottomClickAction);

/**
* Creates a clone of this inventory with all the contents copied into it
*
* @return Clone of this inventory
*/
@NotNull CustomInventory clone();

/**
* Performs the opening action when the inventory is opened if it is set
*
Expand Down

0 comments on commit e70782f

Please sign in to comment.