Fix pagination

This commit is contained in:
Bruno Rybársky 2024-07-06 12:00:11 +02:00
parent 9470264d5e
commit 773cb102e3
3 changed files with 3 additions and 3 deletions

@ -11,7 +11,7 @@ loader_version=0.15.11
fabric_version=0.100.4+1.21
# Mod Properties
mod_version=3.0.6
mod_version=3.0.7
maven_group=systems.brn
archives_base_name=Server_storage

@ -62,7 +62,7 @@ public class SettingsScreen extends PagedGui {
@Override
protected int getPageAmount() {
return Math.ceilDivExact(settingsList.size(), 9 * 6);
return Math.ceilDivExact(settingsList.size(), 9 * 5);
}
@Override

@ -61,7 +61,7 @@ public class StorageScreen extends PagedGui {
@Override
protected int getPageAmount() {
return Math.ceilDivExact(blockEntity.network.filteredItemStackMap.size(), 9 * 6);
return Math.ceilDivExact(blockEntity.network.filteredItemStackMap.size(), 9 * 5);
}
@Override