mirror of
https://github.com/CarmJos/cn2b2t-project.git
synced 2024-09-19 22:05:45 +00:00
修改依赖
This commit is contained in:
parent
24de2c91a5
commit
f411e148d5
@ -63,9 +63,7 @@ public class AutoPagedGUI extends CommonPagedGUI {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
setItem(lastPageSlot, new GUIItem(firstPageUI == null ? new ItemStackFactory(Material.ARROW)
|
setItem(lastPageSlot, new GUIItem(firstPageUI == null ? null : firstPageUI));
|
||||||
.setDisplayName("已经是首页了")
|
|
||||||
.toItemStack() : firstPageUI));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lastPageSlot >= 0)
|
if (lastPageSlot >= 0)
|
||||||
@ -81,9 +79,7 @@ public class AutoPagedGUI extends CommonPagedGUI {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
setItem(nextPageSlot, new GUIItem(endPageUI == null ? new ItemStackFactory(Material.ARROW)
|
setItem(nextPageSlot, new GUIItem(endPageUI == null ? null : endPageUI));
|
||||||
.setDisplayName("已经是尾页了")
|
|
||||||
.toItemStack() : endPageUI));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
super.openGUI(user);
|
super.openGUI(user);
|
||||||
|
2
pom.xml
2
pom.xml
@ -119,7 +119,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.17-R0.1-SNAPSHOT</version>
|
<version>1.12-R0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
Loading…
Reference in New Issue
Block a user