Skip to content

Commit

Permalink
Remove reference to deprecated Mask2D class in README
Browse files Browse the repository at this point in the history
  • Loading branch information
sainttx committed Sep 6, 2022
1 parent e33a306 commit 8b25285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ configured to set the proper previous and next page icons, and any necessary fun
In the basic example below, we create a simple menu displaying various static items.
```java
Menu.Builder pageTemplate = ChestMenu.builder(3).title("Items").redraw(true);
Mask2D itemSlots = Mask2D.builder(pageTemplate.getDimensions())
Mask itemSlots = BinaryMask.builder(pageTemplate.getDimensions())
.pattern("011111110").build();
List<Menu> pages = PaginatedMenuBuilder.builder(pageTemplate)
.slots(itemSlots)
Expand Down

0 comments on commit 8b25285

Please sign in to comment.