Skip to content

Commit

Permalink
Fixed default warp-categories menu using the format of paged menus ev…
Browse files Browse the repository at this point in the history
…en when it's not one
  • Loading branch information
OmerBenGera committed Apr 14, 2022
1 parent 09429d2 commit 8192283
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
11 changes: 3 additions & 8 deletions src/main/resources/menus/warp-categories.yml
Expand Up @@ -23,27 +23,22 @@ edit-lore:
- '&7&o(( &f&oLeft-Click &7&oto see island warps. ))'
- '&7&o(( &f&oRight-Click &7&oto edit the category. ))'

slots: '@'
previous-page: '%'
current-page: '*'
next-page: '^'

items:
'@':
type: STAINED_GLASS_PANE
data: 15
name: '&f'
'%':
type: PAPER
name: '{0}Previous Page'
name: '&cPrevious Page'
'*':
type: DOUBLE_PLANT
name: '&aCurrent Page'
lore:
- '&7Page {0}'
- '&7Page 1'
'^':
type: PAPER
name: '{0}Next Page'
name: '&cNext Page'
'$':
type: STAINED_GLASS_PANE
data: 15
Expand Down
11 changes: 3 additions & 8 deletions src/main/resources/menus/warp-categories1_13.yml
Expand Up @@ -23,26 +23,21 @@ edit-lore:
- '&7&o(( &f&oLeft-Click &7&oto see island warps. ))'
- '&7&o(( &f&oRight-Click &7&oto edit the category. ))'

slots: '@'
previous-page: '%'
current-page: '*'
next-page: '^'

items:
'@':
type: BLACK_STAINED_GLASS_PANE
name: '&f'
'%':
type: PAPER
name: '{0}Previous Page'
name: '&cPrevious Page'
'*':
type: SUNFLOWER
name: '&aCurrent Page'
lore:
- '&7Page {0}'
- '&7Page 1'
'^':
type: PAPER
name: '{0}Next Page'
name: '&cNext Page'
'$':
type: BLACK_STAINED_GLASS_PANE
name: '&f'

0 comments on commit 8192283

Please sign in to comment.