mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Fix warps not showing
This commit is contained in:
1 parent
59a66d7bc4
commit
24fc320b61
1 file changed
+2
-2
@@ -192,8 +192,8 @@ public class ListHandler {
|
||||
int itemsPerPage = HuskHomes.getSettings().getWarpsPerPage();
|
||||
int warpsLowerBound = (pageNumber - 1) * itemsPerPage;
|
||||
int warpsUpperBound = pageNumber * itemsPerPage;
|
||||
if (warpsUpperBound > getAccessibleWarpCount(player, warps)) {
|
||||
warpsUpperBound = getAccessibleWarpCount(player, warps);
|
||||
if (warpsUpperBound > warps.size()) {
|
||||
warpsUpperBound = warps.size();
|
||||
}
|
||||
|
||||
player.sendMessage("");
|
||||
|
||||
Reference in new issue
Block a user