Skip to content

Commit

Permalink
Revert "Change Container#type() to Optional"
Browse files Browse the repository at this point in the history
This reverts commit 7d68b8d.
  • Loading branch information
MrHell228 committed Sep 13, 2024
1 parent 3bbd2ae commit 21270d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public interface Container extends Inventory {
/**
* Returns the {@link ContainerType} of this container.
*
* @return the ContainerType of this container if present.
* @return the ContainerType of this container.
*/
Optional<ContainerType> type();
ContainerType type();

/**
* Returns the {@link InventoryMenu} if this container has been opened by one.
Expand Down

0 comments on commit 21270d3

Please sign in to comment.