mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-17 02:55:04 +00:00
bookmark item stack size readable conversion (#335)
This commit is contained in:
1 parent
6f5d45c4ea
commit
75ff631f16
3 files changed
+136
-20
No files matched your search
@@ -71,6 +71,11 @@ public class ItemsGrid {
|
||||
return -1;
|
||||
}
|
||||
|
||||
public void setPage(int page) {
|
||||
this.page = Math.max(0, Math.min(page, getNumPages() - 1));
|
||||
onGridChanged();
|
||||
}
|
||||
|
||||
public int getPage() {
|
||||
return page + 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user