Skip to content

Commit

Permalink
fix book pages handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 2, 2020
1 parent 6472af0 commit a147846
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -323,7 +323,7 @@ public void adjust(Mechanism mechanism) {
if (pages != null) {
ListTag pageList = ListTag.getListFor(pages, mechanism.context);
ArrayList<BaseComponent[]> newPages = new ArrayList<>(pageList.size());
for (int i = 1; i < pageList.size(); i++) {
for (int i = 0; i < pageList.size(); i++) {
newPages.add(FormattedTextHelper.parse(pageList.get(i)));
}
meta.spigot().setPages(newPages);
Expand Down

0 comments on commit a147846

Please sign in to comment.