1
mirror of https://github.com/CarmJos/cn2b2t-project.git synced 2024-09-19 22:05:45 +00:00

修改依赖

This commit is contained in:
carm 2021-10-20 22:55:01 +08:00
parent 24de2c91a5
commit f411e148d5
2 changed files with 3 additions and 7 deletions

View File

@ -63,9 +63,7 @@ public class AutoPagedGUI extends CommonPagedGUI {
}
});
} else {
setItem(lastPageSlot, new GUIItem(firstPageUI == null ? new ItemStackFactory(Material.ARROW)
.setDisplayName("已经是首页了")
.toItemStack() : firstPageUI));
setItem(lastPageSlot, new GUIItem(firstPageUI == null ? null : firstPageUI));
}
if (lastPageSlot >= 0)
@ -81,9 +79,7 @@ public class AutoPagedGUI extends CommonPagedGUI {
}
});
} else {
setItem(nextPageSlot, new GUIItem(endPageUI == null ? new ItemStackFactory(Material.ARROW)
.setDisplayName("已经是尾页了")
.toItemStack() : endPageUI));
setItem(nextPageSlot, new GUIItem(endPageUI == null ? null : endPageUI));
}
super.openGUI(user);

View File

@ -119,7 +119,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.17-R0.1-SNAPSHOT</version>
<version>1.12-R0.1-SNAPSHOT</version>
</dependency>
<dependency>