diff --git a/src/main/java/org/mineacademy/fo/menu/AdvancedMenu.java b/src/main/java/org/mineacademy/fo/menu/AdvancedMenu.java index 8befdc2db..198d9b399 100644 --- a/src/main/java/org/mineacademy/fo/menu/AdvancedMenu.java +++ b/src/main/java/org/mineacademy/fo/menu/AdvancedMenu.java @@ -127,19 +127,24 @@ protected final void setLockedSlots(Integer... slots){ /** * See {@link #setLockedSlots(Integer...)} for the detailed description.

- * Figures available: {@link MenuSlots.SizedShape}. + * Shapes available: {@link MenuSlots.SizedShape}. */ protected final void setLockedSlots(MenuSlots.SizedShape sizedShape){ setLockedSlots(sizedShape.getSlots()); } + /** + * Set the automated locked slots depending on the shape and the menu size.
+ * Shapes available: {@link MenuSlots.Shape}. + * @param shape the shape you want to use + */ protected final void setLockedSlots(MenuSlots.Shape shape){ setLockedSlots(shape, getSize()); } /** - * Set the automated slots locking depending on the figure and the size.
- * Figures available: {@link MenuSlots.Shape}. + * Set the automated locked slots depending on the shape and the given size.
+ * Shapes available: {@link MenuSlots.Shape}. * @param shape the shape you want to use * @param size the size of the menu */